Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nothing off the top of my head. The way I really got monads was just writing Haskell code. It's one of the very few programming languages with a clear denotational semantics for everything (as a result of being pure), and you end up with lots of simple problems like "how do I keep this value around and 'mutate' it" that are conveniently addressed by a monad like the State monad.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: