3 ms·
Anybody have a debugging workaround for Haskell? Dropping print statements is doable, but not very nice looking.
by lionyo 11y ago
Anybody have a debugging workaround for Haskell? Dropping print statements is doable, but not very nice looking.
- erdeszt 11y agoThe ghci debugger is pretty awesome: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci-debugger.html https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...
- robertjflong 11y agoDebug.Trace -> http://hackage.haskell.org/package/base-4.0.0.0/docs/Debug-Trace.html 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