Hacker News new | past | comments | ask | show | jobs | submit login

That’s an example of a specific monad, not the definition of the general concept of a monad.

Also, JS promises are not really monads. They lack denotational equality, so they can’t be said to obey the monad laws.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: