Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)


Yeah 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: