comonad-4.2.7.2: Comonads

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

Control.Comonad.Env.Class

Description

 

Documentation

class Comonad w => ComonadEnv e w | w -> e where Source

Methods

ask :: w a -> e Source

asks :: ComonadEnv e w => (e -> e') -> w a -> e' Source