[Haskell-cafe] Re: Can we come out of a monad?

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Sun Aug 8 19:43:11 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/8/10 19:28 , Richard O'Keefe wrote:
> On Aug 3, 2010, at 11:37 PM, Christopher Witte wrote:
>> Maybe looking at Sigfpe's blog post You Could Have Invented Monads! (And Maybe You Already Have.) will help.
> 
> Notice the tense, "could have".  I have read You Could Have Invented
> Monads, and recommended it to students.  In fact I _did_ invent
> monads, in the guise of parser combinators.  That is to say, having
> heard of parser combinators, I developed my own set, which contained
> operations recognisable with hindsight as the operations of Monad and
> MonadPlus &c BUT I DID NOT REALISE THAT THAT WAS WHAT I HAD DONE.
> After reading that blog post, yes.

That's what the "And Maybe You Already Have" part is about....

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxfQQ4ACgkQIn7hlCsL25V5aQCfaweA9PmrInW3BSQwVQdDhdnQ
vo0AnRbv58abJ7jINqDsZG2UaXifmRLl
=c9Ro
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list