Last active
December 10, 2015 17:28
-
-
Save debasishg/4467979 to your computer and use it in GitHub Desktop.
a Joy like concatenative lang using Free Monads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p :: Joy () | |
p = do push 5 | |
push 6 | |
add | |
incr | |
add2 | |
square | |
cube | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment