comonad-4.2.7.2: 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

Methods

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

Instances

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