
24 Jan
2005
24 Jan
'05
9:05 p.m.
(Sorry about the recurrent self answers)
Maybe (not sure) it is sensible to sapecify return::(a -> IO a), as an action with no side effects such that
return x === return x iff x === x. return x === return y iff x === y <-- this is what I meant to write.
But even that is not enough, should be: "return x is an action with no side effects and that always returns x" The previous specification is be a consequence of this one, and it failed to specify that the returned value was always x. J.A.