[Haskell-cafe] On the verge of ... giving up!

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Oct 14 23:02:57 EDT 2007


On Oct 14, 2007, at 22:54 , Richard A. O'Keefe wrote:

> The really amazing thing about the IO Monad in Haskell is that
> there *isn't* any magic going on.  An level of understanding
> adequate for using the I/O and State monads stuff (that is,
> adequate for practically anything analogous to what you might
> do in another language) goes like this:
(...)

I like an explanation dons gave once the best:  A Monad is a  
programmable semicolon.

That pretty much sums it up, nice and simple.  Everything else is  
just scaffolding.

-- 
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




More information about the Haskell-Cafe mailing list