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

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 #