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

Monads basically capture computation itself: it gives you a way to describe a computation in terms of smaller computations arranged in a tree. I would recommend you to take a look at the history of monad in Haskell: why Haskell's initial approach of `main :: [Request] -> IO [Response]` doesn't work, and then perhaps you will appreciate why you want them at all.


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

Search: