monad-journal

Pure logger typeclass and monad transformer http://github.com/phaazon/monad-journal

Version on this page:0.5.0.1
LTS Haskell 15.14:0.8.1
Stackage Nightly 2020-06-01:0.8.1
Latest on Hackage:0.8.1

See all snapshots monad-journal appears in

BSD-3-Clause licensed and maintained by Dimitri Sabadie

Module documentation for 0.5.0.1

This version can be pinned in stack with:[email protected]:010ee743cbdebc79c79d95b32c9c595422059a22be7aa9fe5072e1820e492a29,1992
  • Control
    • Control.Monad
      • Control.Monad.Journal
        • Control.Monad.Journal.Class
      • Control.Monad.Trans
        • Control.Monad.Trans.Journal

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.

Changes

CHANGELOG

0.5

  • license is now BSD3!;
  • enhanced the documentation in all modules;
  • added README.md.

0.4.0.2

  • added the changelog in the package description (.cabal).

0.4.0.1

  • added the source-repository head field in the .cabal file;
  • added the bug-reports field in the .cabal file;
  • change author and maintainer format.

0.4

  • actually, lower bound is better for now; using mtl-2.1.

0.3

  • now using lower-bound mtl’s version 0.2.2.1 for Control.Monad.Except.

0.2.4

  • added MonadExcept instances.