The monad-journal package

[Tags: bsd3, library]

This package provides a typeclass for logging in pure code, or more generally, in any kind of context. You can do whatever you want with logs, especially get them, clear them or even sink them through IO if you're logging in (MonadIO m) => m.


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.2.0, 0.2.3.0, 0.2.3.1, 0.2.3.2, 0.2.4, 0.3, 0.4, 0.4.0.1, 0.4.0.2, 0.5, 0.5.0.1, 0.6, 0.6.0.1, 0.6.0.2, 0.7, 0.7.1
Change logCHANGELOG.md
Dependenciesbase (>=4.5 && <5.0), either (>=4.1 && <4.5), monad-control (>=0.3 && <1.1), mtl (>=2.1 && <2.3), transformers (>=0.3 && <0.5), transformers-base (==0.4.*) [details]
LicenseBSD3
AuthorDimitri Sabadie <dimitri.sabadie@gmail.com>
MaintainerDimitri Sabadie <dimitri.sabadie@gmail.com>
CategoryControl
Home pagehttp://github.com/phaazon/monad-journal
Bug trackerhttp://github.com/phaazon/monad-journal/issues
Source repositoryhead: git clone git://github.com/phaazon/monad-journal.git
UploadedFri May 29 17:21:55 UTC 2015 by DimitriSabadie
DistributionsDebian:0.7.1, LTSHaskell:0.7.1, NixOS:0.7.1, Stackage:0.7.1
Downloads15517 total (673 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for monad-journal-0.7.1

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.