Last active
August 29, 2015 13:55
-
-
Save funrep/8704669 to your computer and use it in GitHub Desktop.
crazy and most likely stupid idea i got on the bus
This file contains hidden or 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
Note to self: possible to write a Lisp-like DSL within Haskell using Writer monad? | |
main = runLisp $ do | |
def "f" $ do | |
args $ do | |
"x" | |
"y" | |
body $ do | |
"x" + "y" | |
lispPrint $ "f" $ do | |
3 | |
5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment