On Jul 2, 2009, at 17:59 , wren ng thornton wrote:
> Brandon S. Allbery KF8NH wrote:
>> Some Haskell programmers use fmap (because most Monads are also
>> Functors), others use liftM. Both have the same effect: given a
>> monadic computation "m a", "liftM f" turns "f" into a function that
>> operates on the enclosed "a" instead of the entire "m a".
>
> That is, given the theory behind it all, every monad is a functor
> (note the lower case); from
Yeh, I decided to bypass the whole "all monads are functors, but for
Hysterical Raisins not all Monads are Functors" morass.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell]
allbery@...
system administrator [openafs,heimdal,too many hats]
allbery@...
electrical and computer engineering, carnegie mellon university KF8NH
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe