cats.labs.reader
The Reader Monad.
MonadReader
protocol
A specific case of Monad abstraction that allows a read only access to an environment.
members
reader
(reader f)
The Reader type constructor.
The purpose of Reader type is wrap a simple function that fullfill the reader signature.
It exists just for avoid extend the clojure function type because is very generic type.
run-reader
(run-reader reader seed)
Given a Reader instance, execute the wrapped computation and returns a value.