Copyright | (C) 2008-2015 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 |
Documentation
class Comonad w => ComonadEnv e w | w -> e where Source #
Instances
ComonadEnv e (Arg e) Source # | |
Defined in Control.Comonad.Env.Class | |
ComonadEnv e ((,) e) Source # | |
Defined in Control.Comonad.Env.Class | |
(ComonadEnv e w, Monoid m) => ComonadEnv e (TracedT m w) Source # | |
Defined in Control.Comonad.Env.Class | |
ComonadEnv e w => ComonadEnv e (IdentityT w) Source # | |
Defined in Control.Comonad.Env.Class | |
ComonadEnv e w => ComonadEnv e (StoreT t w) Source # | |
Defined in Control.Comonad.Env.Class | |
Comonad w => ComonadEnv e (EnvT e w) Source # | |
Defined in Control.Comonad.Env.Class |
asks :: ComonadEnv e w => (e -> e') -> w a -> e' Source #