wiring-0.5.1: Wiring, promotion and demotion of types.

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Reader.Class.Wiring

Synopsis

Documentation

wiredAsk :: (Functor m, MonadReader r1 m, Wirable r1 r2) => m r2 Source #

Retrieves the monad environment like ask, but uses wire to transform the environment to the required type.