Re:Coders at Work on finding and preventing bugs
by lionyo on Saturday August 08, 2015 @06:38AM
(#10026888)
Anybody have a debugging workaround for Haskell? Dropping print statements is doable, but not very nice looking.
[ Parent
| on HN ]
Re:Coders at Work on finding and preventing bugs
by robertjflong on Saturday August 08, 2015 @12:43PM
(#10027818)
Debug.Trace -> http://hackage.haskell.org/package/base-4.0.0.0/docs/Debug-T...
Whenever you want to see the value of x, replace it with traceShow x x
Re:Coders at Work on finding and preventing bugs
by erdeszt on Saturday August 08, 2015 @07:20AM
(#10026948)
The ghci debugger is pretty awesome: https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...