Re: [Haskell-cafe] Re:Explaining monads

2007-08-15 Thread Jeff Polakow
Hello, Hence the need to perform a run operation like runIdentity, evalState or runParser (for Parsec) to get something useful to happen. Except for lists we don't seem to do this. I suppose lists are so simple that the operators :, ++ and the [] constructor do all we ever need with

[Haskell-cafe] Re:Explaining monads

2007-08-14 Thread Gregory Propf
Sorry to spam you Jeff, again I sent my email to the poster rather than the list. I'm using Yahoo beta webmail and don't see a way to set it to reply to the list rather than the originator. Anyway, this was my post: Hence the need to perform a run operation like runIdentity, evalState or

Re: [Haskell-cafe] Re:Explaining monads

2007-08-14 Thread Brian Brunswick
On 15/08/07, Gregory Propf [EMAIL PROTECTED] wrote: - Original Message From: Jeff Polakow [EMAIL PROTECTED] One general intuition about monads is that they represent computations rather than simple (already computed) values: I still want to re-iterate that they represent /complex/