category-extras-0.44.4: Various modules and constructs inspired by category theory

Portabilityportable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Comonad.Reader

Description

 

Documentation

data ReaderC r a Source

Constructors

ReaderC r a 

runReaderC :: ReaderC r a -> (r, a)Source

newtype ReaderCT w r a Source

Constructors

ReaderCT 

Fields

runReaderCT :: w (r, a)
 

Instances

class Comonad w => ComonadReader r w | w -> r whereSource

Methods

askC :: w a -> rSource

Instances