monad-journal-0.7.2: Pure logger typeclass and monad transformer

Copyright(C) Dimitri Sabadie
LicenseBSD3
Maintainerdimitri.sabadie@gmail.com
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Control.Monad.Trans.Journal

Contents

Description

Monad transformer version of MonadJournal. JournalT provides journaling over a monad.

This modules defines a few useful instances. Check the list below for further information.

Synopsis

JournalT monad transformer

runJournalT :: (Monoid w, Monad m) => JournalT w m a -> m (a, w) Source

Retrieve the value and the log history.

evalJournalT :: (Monoid w, Monad m) => JournalT w m a -> m a Source

Only retrieve the value.

execJournalT :: (Monoid w, Monad m) => JournalT w m a -> m w Source

Only retrieve the log history.

Re-exported