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

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