Created
November 9, 2017 16:57
-
-
Save deque-blog/511614c07665030b97817d7489114674 to your computer and use it in GitHub Desktop.
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
data IOSpec a | |
= ReadLine (String -> IOSpec a) -- Await a value | |
| PrintLine String (IOSpec a) -- Yield a value | |
| Pure a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment