logoalt Hacker News

AndyKelleytoday at 7:05 PM1 replyview on HN

It's not a monad because it doesn't return a description of how to carry out I/O that is performed by a separate system; it does the I/O inside the function before returning. That's a regular old interface, not a monad.


Replies

endgametoday at 7:34 PM

So it's the reader monad, then? ;-)

show 2 replies