4 ms·
Hmm, fair point. I couldn't think of another popular construct in JS that is a proper functor. Do you have any better suggestions?
by lhorie 5y ago
Hmm, fair point.
I couldn't think of another popular construct in JS that is a proper functor. Do you have any better suggestions?
- lmm 5y agoAny of the standard functor-but-not-monad examples, e.g. multidimensional arrays (where you can implement map but can't implement map2 or flatMap, because the dimensions won't necessarily line up)?