Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hadronized/monad-journal
Pure logger typeclass and monad transformer
https://github.com/hadronized/monad-journal
Last synced: about 1 month ago
JSON representation
Pure logger typeclass and monad transformer
- Host: GitHub
- URL: https://github.com/hadronized/monad-journal
- Owner: hadronized
- License: bsd-3-clause
- Created: 2014-02-21T13:08:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T09:32:41.000Z (over 6 years ago)
- Last Synced: 2024-04-26T01:02:14.438Z (8 months ago)
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/monad-journal
- Size: 26.4 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://hackage.haskell.org/packages/archive/mtl/latest/doc/html/Control-Monad-Writer-Class.html#t: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.