@hackage monad-journal0.6.0.2
Pure logger typeclass and monad transformer
Installation
Dependencies (6)
- base >=4.5 && <4.8
- either >=4.1 && <4.4
- monad-control >=0.3 && <1.1
- mtl >=2.1 && <2.3
- transformers >=0.3 && <0.5
- transformers-base >=0.4 && <0.5 Show all…
Dependents (3)
@hackage/acme-everything, @hackage/ghc-imported-from, @hackage/ghc-mod
monad-journal
Pure logger typeclass and monad transformer
What is monad-journal?
monad-journal is a simple but powerful answer to the logging problem. A lot
of people think that “logging” is IO-related, while it’s not. Everyone must
know MonadWriter
, which is perfect to log things in pure computations. The issue is that you
can’t access those “things” inside the computation itself. monad-journal
exposes a cool typeclass called MonadJournal that enables you to do so.