Hacker News new | ask | show | jobs
by tromp 941 days ago
> Sometimes I just want to do something silly, like adding a log somewhere.

In Haskell, you can use Debug.Trace for just that purpose, when you don't want to change the type of your function.

1 comments

I've been playing with purescript and found out that they have a similar library, thanks!