comonad-5.0.8: 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 #

Methods

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

Instances

Instances details
ComonadTraced m w => ComonadTraced m (StoreT s w) # 
Instance details

Defined in Control.Comonad.Traced.Class

Methods

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

ComonadTraced m w => ComonadTraced m (EnvT e w) # 
Instance details

Defined in Control.Comonad.Traced.Class

Methods

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

ComonadTraced m w => ComonadTraced m (IdentityT w) # 
Instance details

Defined in Control.Comonad.Traced.Class

Methods

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

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

Defined in Control.Comonad.Traced.Class

Methods

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

Monoid m => ComonadTraced m ((->) m :: Type -> Type) # 
Instance details

Defined in Control.Comonad.Traced.Class

Methods

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

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