[Haskell-cafe] >> and sequencing [newbie]

Clifford Beshers clifford.beshers at linspire.com
Mon Apr 16 21:03:02 EDT 2007


Donald Bruce Stewart wrote:
> david:
>   
>>    Ah... so the secret is in the hidden variables.  On some
>>    level I am beginning to fear that Monads resurrect some of
>>    the scariest aspects of method overriding from my OO
>>    programming days.  Do you (all) ever find that the ever
>>    changing nature of >>= makes code hard to read?
>>     
>
> You always know which monad you're in though, since its in the type.
> And the scary monads aren't terribly common anyway.
>   

Also, the monad laws impose a level of sanity that most OO frameworks do 
not, right?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070416/10b208b7/attachment.htm


More information about the Haskell-Cafe mailing list