
23 Jan
2012
23 Jan
'12
9:29 a.m.
On Sun, Jan 22, 2012 at 5:25 PM, David Barbour
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