comonads-fd-3.0.3: Comonad transformers using functional dependencies

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

Control.Comonad.Traced

Contents

Description

 

Synopsis

ComonadTraced class

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

Methods

trace :: m -> w a -> aSource

Instances

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

The Traced comonad

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

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

The TracedT comonad transformer

newtype TracedT m w a

Constructors

TracedT 

Fields

runTracedT :: w (m -> a)
 

Instances

Re-exported modules