How would you log outside of the IO monad?
By collecting status messages in addition to computation results. The Writer monad is one (convenient) way to do this.
By collecting status messages in addition to computation results. The Writer monad is one (convenient) way to do this.