OSDN Git Service

Refactor pop_int.
authorsforman <sforman@hushmail.com>
Sat, 29 Jul 2023 14:51:31 +0000 (07:51 -0700)
committersforman <sforman@hushmail.com>
Sat, 29 Jul 2023 14:51:31 +0000 (07:51 -0700)
commit9917a2cfba1bd4206ee87a35aabc25678e9f13bb
treef1c4c1081402f5b49fe2d547c962a5fbf6d51910
parentb6b3acf3505fd5249ac7471e764aa29fa856fe99
Refactor pop_int.

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.
implementations/Elm/src/Joy.elm