CurryInfo: transformers-3.0.0 / Control.Monad.Trans.Reader.asks

definition:
 
asks :: Monad m => (r -> a) -> ReaderT r m a
asks f = f <$> ask
demand:
 no demanded arguments
deterministic:
 deterministic operation
documentation:
 
| Retrieves the environment with a selector function applied to it.
failfree:
 (_, _)
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_,_) |-> _}
name:
 asks
precedence:
 no precedence defined
result-values:
 _
signature:
 Prelude.Monad c => (a -> b) -> ReaderT a c b
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 reducible on all ground data terms