Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Why Monads Can’t Give You the Answer (medium.com/panuviljamaa)
1 point by galaxyLogic on April 20, 2019 | hide | past | favorite | 1 comment


This makes me think that an instance of a monad is not like an instance of an OO class which you interact with by calling its methods. An instance of a monad is such simply because it was returned by a 'return()' or 'bind()' and because those 'return()' and 'bind()' functions are related by the monadic laws and thus are in the monadic relationship with each other. A monadic value could be an instance of any number of monads at the same time.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: