
30 Jul
2010
30 Jul
'10
11:09 p.m.
Ivan Lazar Miljenovic wrote:
More and more people seem to be getting away from trying to say that monads are containers/burritos/etc. and just teaching them by way of the definition, either >>= and return or just join
You always need return. The choice of primitives is: return, (>>=) or: fmap, return, join -- Live well, ~wren