Created
June 9, 2014 16:52
-
-
Save radix/146c3235e1a6aa5c311c to your computer and use it in GitHub Desktop.
idris bang notation
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
hello : { [STDIO] } Eff IO () | |
hello = do | |
putStr "Name? " | |
putStrLn ("Hello " ++ trim !getStr ++ "!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment