Hacker News new | ask | show | jobs
by Anagmate 2537 days ago
Haskell indirectly solves this by separating `trace` (a form of logging) from IO (trace is a procedure that logs function call while all other IO must be contained in an IO monad).