comonad-5.0.6: Comonads

Copyright | (C) 2008-2012 Edward Kmett
License | BSD-style (see the file LICENSE)
Maintainer | Edward Kmett <ekmett@gmail.com>
Stability | experimental
Portability | non-portable (fundeps, MPTCs)
Safe Haskell | Safe
Language | Haskell2010

Control.Comonad.Traced.Class

Description

# Documentation

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

Methods

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

#### Instances

Instances details

ComonadTraced m w => ComonadTraced m (StoreT s w) Source # |
Instance details Defined in Control.Comonad.Traced.Class Methods trace :: m -> StoreT s w a -> a Source #
ComonadTraced m w => ComonadTraced m (EnvT e w) Source # |
Instance details Defined in Control.Comonad.Traced.Class Methods trace :: m -> EnvT e w a -> a Source #
ComonadTraced m w => ComonadTraced m (IdentityT w) Source # |
Instance details Defined in Control.Comonad.Traced.Class Methods trace :: m -> IdentityT w a -> a Source #
(Comonad w, Monoid m) => ComonadTraced m (TracedT m w) Source # |
Instance details Defined in Control.Comonad.Traced.Class Methods trace :: m -> TracedT m w a -> a Source #
Monoid m => ComonadTraced m ((->) m :: Type -> Type) Source # |
Instance details Defined in Control.Comonad.Traced.Class Methods trace :: m -> (m -> a) -> a Source #

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