polysemy-log-co-0.5.0.0: Colog Adapters for Polysemy-Log
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Log.Colog.Atomic

Description

 
Synopsis

Documentation

interpretCologAtomic' :: forall a r. Member (AtomicState [a]) r => InterpreterFor (Log a) r Source #

Interpret Log by prepending each message to a list in an AtomicState.

interpretCologAtomic :: forall a r. Member (Embed IO) r => InterpretersFor [Log a, AtomicState [a]] r Source #

Interpret Log by prepending each message to a list in an AtomicState, then interpret the AtomicState in a TVar.