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

How would it be less of a Monad than the IO Monad? That's the part I'm not getting. It would make sense to me if neither were considered monads.


If the monad laws don't hold, its not a monad. I demonstrated the first law not holding, therefore promises are not a monad.




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

Search: