Re:Monads in JavaScript
by tel on Tuesday July 21, 2015 @12:18PM
(#9923351)
Sorry, that's a good point. The triple formalism (T, mu, eta) already assumes T to be a functor, but I didn't state that explicitly! So you need (List, map, return, flatten) all of them.
[ Parent
| on HN ]
There are no comments on this comment yet.