News for hackers. Stuff that matters.
Re:What Is Good About Haskell? by nybble41 on Thursday October 03, 2019 @06:12PM (#21152814)
> 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).

There are no comments on this comment yet.