[Haskell-cafe] Network.CGI -- practical web programming example.
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Thu Jul 2 19:50:11 EDT 2009
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 at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090702/3f633569/PGP.bin
More information about the Haskell-Cafe
mailing list