[Ur] debugging

Ron de Bruijn rmbruijn at gmail.com
Fri Dec 30 07:30:04 EST 2011


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



More information about the Ur mailing list