pymonad
.
operators
.reader
index
/usr/home/jason/Files/projects/pymonad/pymonad/operators/reader.py
Adds operators to the Reader monad.
Modules
pymonad
Functions
Reader
(function: Callable[[~R], ~T]) -> pymonad.operators.reader._Reader[~R, ~T]
Creates an instance of the Reader monad.
Args:
function: a function which takes the read-only data as input and
returns any appropriate type.
Result:
An instance of the Reader monad.
Data
Callable
= typing.Callable
R
= ~R
T
= ~T