comonad-5.0.8: 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 :: Type -> Type) | w -> e where Source #

Methods

ask :: w a -> e Source #

Instances

Instances details
ComonadEnv e (Arg e) Source # 
Instance details

Defined in Control.Comonad.Env.Class

Methods

ask :: Arg e a -> e Source #

ComonadEnv e ((,) e) Source # 
Instance details

Defined in Control.Comonad.Env.Class

Methods

ask :: (e, a) -> e Source #

Comonad w => ComonadEnv e (EnvT e w) Source # 
Instance details

Defined in Control.Comonad.Env.Class

Methods

ask :: EnvT e w a -> e Source #

ComonadEnv e w => ComonadEnv e (StoreT t w) Source # 
Instance details

Defined in Control.Comonad.Env.Class

Methods

ask :: StoreT t w a -> e Source #

(ComonadEnv e w, Monoid m) => ComonadEnv e (TracedT m w) Source # 
Instance details

Defined in Control.Comonad.Env.Class

Methods

ask :: TracedT m w a -> e Source #

ComonadEnv e w => ComonadEnv e (IdentityT w) Source # 
Instance details

Defined in Control.Comonad.Env.Class

Methods

ask :: IdentityT w a -> e Source #

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