Op 30-12-11 13:22, Gergely Buday schreef:
Hi,
the manual says
For debugging purposes, a transactional function
is provided for outputting a string on the server
process' stderr.
val debug : string -> transaction unit
How can I use this in a pure function? As I understand this, any use
of a monadic function puts the whole function into the transaction
monad. If this is true, I cannot print intermediate values into
standard error from a pure function. Is this right? How can I debug a
pure function then?
- Gergely
Via [naughtyDebug].
--
Best regards,
Ron de Bruijn
_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur