comonads-fd-1.5.0.1: Comonad transformers using functional dependencies

Portabilitynon-portable (fundeps, MPTCs)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Comonad.Traced.Memo

Contents

Description

 

Synopsis

ComonadTraced class

class Comonad w => ComonadTraced m w | w -> m whereSource

Methods

trace :: m -> w a -> aSource

traces :: ComonadTraced m w => (a -> m) -> w a -> aSource

The Traced comonad

traced :: Monoid m => (m -> a) -> Traced m a

runTraced :: Traced m a -> m -> a

The TracedT comonad transformer

data TracedT m w a

Instances

tracedT :: (Functor w, Monoid m) => w (m -> a) -> TracedT m w a

runTracedT :: TracedT m w a -> w (m -> a)

Re-exported modules