comonad-5.0.1: Comonads

Copyright(C) 2008-2012 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable (fundeps, MPTCs)
Safe HaskellSafe
LanguageHaskell2010

Control.Comonad.Traced.Class

Description

 

Documentation

class Comonad w => ComonadTraced m w | w -> m where Source #

Minimal complete definition

trace

Methods

trace :: m -> w a -> a Source #

Instances

Monoid m => ComonadTraced m ((->) m) Source # 

Methods

trace :: m -> (m -> a) -> a Source #

ComonadTraced m w => ComonadTraced m (StoreT s w) Source # 

Methods

trace :: m -> StoreT s w a -> a Source #

ComonadTraced m w => ComonadTraced m (EnvT e w) Source # 

Methods

trace :: m -> EnvT e w a -> a Source #

ComonadTraced m w => ComonadTraced m (IdentityT * w) Source # 

Methods

trace :: m -> IdentityT * w a -> a Source #

(Comonad w, Monoid m) => ComonadTraced m (TracedT m w) Source # 

Methods

trace :: m -> TracedT m w a -> a Source #

traces :: ComonadTraced m w => (a -> m) -> w a -> a Source #