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

Chaining is as old as hills and can be used to avoid callback hells. What monads are really is a type respecting chainable object with 3 methods: value, map and then.


If I remember correctly map comes from functor, and every monad is also a functor.




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

Search: