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

> and not particularly difficult.

Wait until you want debug output in a deeply nested function that isn't already in the IO monad.



You can use trace for that which is part of the base library:

https://hackage.haskell.org/package/base-4.19.1.0/docs/Debug...


Unrelated, but many thanks for organizing Zurihac year after year.


Debugging output, or just plain debugging, is often difficult regardless of the programming language. I wouldn't say this sets Haskell apart.




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

Search: