Skip to content

Instantly share code, notes, and snippets.

@radix
Created June 9, 2014 16:52
Show Gist options
  • Save radix/146c3235e1a6aa5c311c to your computer and use it in GitHub Desktop.
Save radix/146c3235e1a6aa5c311c to your computer and use it in GitHub Desktop.
idris bang notation
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