traceM and traceShowM

Martijn van Steenbergen martijn at van.steenbergen.nl
Fri Oct 16 09:37:45 EDT 2009


pepe wrote:
> But traceM will only work on non-lazy monads, such as Either or Maybe.

That's exactly what you expect from a call to trace: if it doesn't get 
evaluated, its message isn't output.

Martijn.



More information about the Libraries mailing list