Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jose_zap
on Aug 16, 2024
|
parent
|
context
|
favorite
| on:
Go is my hammer, and everything is a nail
> imagine being able to insert `print(a)` into your program to see what's in the `a` variable at a specific time. Hey, I know that's not pure, but it's still damn useful.
In Haskell that’s Debug.Trace.traceShow. You can use it in pure code too.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In Haskell that’s Debug.Trace.traceShow. You can use it in pure code too.