3 ms·
> Of course, I suppose there is always unsafePerformIO, at least for those late-night debug sessions. For temporary debug output you should probably consider t
by nybble41 7y ago
> Of course, I suppose there is always unsafePerformIO, at least for those late-night debug sessions.
For temporary debug output you should probably consider the Debug.Trace module before unsafePerformIO. It has a simpler interface and doesn't introduce the possibility of arbitrary I/O, just text output (and event logging if that's enabled in the RTS).