polysemy-zoo-0.7.0.1: Experimental, user-contributed effects and interpreters for polysemy

Safe HaskellNone
LanguageHaskell2010

Polysemy.ConstraintAbsorber.MonadReader

Synopsis

Documentation

absorbReader Source #

Arguments

:: Member (Reader i) r 
=> (MonadReader i (Sem r) => Sem r a)

A computation that requires an instance of MonadReader for Sem. This might be something with type MonadReader r m => m a.

-> Sem r a 

Introduce a local MonadReader constraint on Sem --- allowing it to interop nicely with MTL.

Since: 0.3.0.0