comonad-4.2.7.2: Comonads

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

Control.Comonad.Traced

Contents

Description

 

Synopsis

ComonadTraced class

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

Methods

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

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

The Traced comonad

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

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

The TracedT comonad transformer

Re-exported modules