Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
-- Reading a line (readLine)
ReadLine (\s => Pure s)
-- Printing a line (\x => prnLine x)
\x => WriteLine x (Pure ())
-- Chaining them together (printing the line read)
ReadLine (\x => WriteLine x (Pure ()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment