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

_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to