I don't like passing the stack through isnt_int but that let's you chain with andThen. There's probably a clever or idiomatic way to not do that and couple the stack to the result without passing it through the type checker function but I don't know what it is right now, and this works.