On Sun, Jan 22, 2012 at 5:25 PM, David Barbour <dmbarb...@gmail.com> wrote:
> The laws for monads only apply to actual values and combinators of the monad 
> algebra

You seem to argue that, even in a lazy language like Haskell,
equational laws should be considered only for values, as if they where
stated for a total language. This kind of reasoning is called "fast
and loose" in the literature and the conditions under which it is
justified are established by Danielsson and others:

    http://www.cse.chalmers.se/~nad/publications/danielsson-et-al-popl2006.html

Sebastian

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to