Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Lazy Monad. Parent comment
In short: Functors (a tightly related concept) are about types that have ‘.map()’, and Monads are Functors that in addition have ‘.flatMap()’.
There are no comments on this comment yet.
In short: Functors (a tightly related concept) are about types that have ‘.map()’, and Monads are Functors that in addition have ‘.flatMap()’.