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

Portabilityportable
Stabilitystable
Maintainerdimitri.sabadie@gmail.com
Safe HaskellNone

Control.Monad.Trans.Journal

Contents

Description

 

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 aSource

Only retrieve the value.

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

Only retrieve the log history.