Re:IO Monad Considered Harmful
by millstone on Friday January 23, 2015 @03:22AM
(#8933906)
If this is meant to be under main, you need a "let":
For whatever reason, I didn't learn about the magic let syntax in do-notation until relatively late. Anyways this is very elegant, but not something I could have generated early on, especially because it mixes two different sequencing syntaxes (do-notation and >>=).
[ Parent
| on HN ]