4 ms·
I assume you've come across Debug.Trace. That let's you do "printf-style" debugging in Haskell without much fuss. trace ("calling f with x = " ++ show x) (
by Y_Y 10y ago
I assume you've come across Debug.Trace. That let's you do "printf-style" debugging in Haskell without much fuss.
trace ("calling f with x = " ++ show x) (f x)
- jstimpfle 10y agoYeah that's possible but there's still laziness. Anyways I didn't want to shift attention much - just use it as an example to clarify what I mean.