[Haskell-cafe] A question about monad laws

C K Kashyap ckkashyap at gmail.com
Mon Jan 17 05:21:44 CET 2011


Hi,
I am trying to get a better understanding of the "monad laws" - right now,
it seems too obvious
and pointless. I had similar feelings about identity function when I first
saw it but understood its use
when I saw it in action.
Could someone please help me get a better understanding of the necessity of
monads complying with these laws?
I think, examples of somethings stop working if the monad does not obey
these laws will help me understand it better.
Regards,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110117/9c9fa728/attachment.htm>


More information about the Haskell-Cafe mailing list