Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active November 8, 2017 12:53
Show Gist options
  • Save deque-blog/20410dcedc58e1abb91f2aedf0219a7c to your computer and use it in GitHub Desktop.
Save deque-blog/20410dcedc58e1abb91f2aedf0219a7c to your computer and use it in GitHub Desktop.
data IOSpec a
= ReadLine (String -> IOSpec a)
| PrintLine String (IOSpec a)
| Pure a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment