A Neighborhood of Infinity: The IO Monad for People who Simply Don't Care - 0 views
-
Many programming languages make a distinction between expressions and commands.
-
Like other languages it makes the distinction, and like other languages it has its own slightly idiosyncratic notion of what the difference is. The IO monad is just a device to help make this distinction.
-
There is no room for anything like a print command here because a print command doesn't return a value, it produces output as a side-effect
- ...18 more annotations...