|
Sequence actions, discarding the value of the first argument.
-
x
:
Reader<'a, 'b>
-
y
:
Reader<'a, 'c>
-
Returns:
Reader<'a, 'c>
|
|
Sequence actions, discarding the value of the second argument.
-
x
:
Reader<'a, 'b>
-
y
:
Reader<'a, 'c>
-
Returns:
Reader<'a, 'b>
|
|
Infix map
-
f
:
'a -> 'b
-
m
:
Reader<'c, 'a>
-
Returns:
Reader<'c, 'b>
|
|
Sequential application
-
f
:
Reader<'a, ('b -> 'c)>
-
m
:
Reader<'a, 'b>
-
Returns:
Reader<'a, 'c>
|
|
Right-to-left Kleisli composition
-
x
:
'a -> Reader<'b, 'c>
-
Returns:
('d -> Reader<'b, 'a>) -> 'd -> Reader<'b, 'c>
|
|
Flipped >>=
-
f
:
'a -> Reader<'b, 'c>
-
m
:
Reader<'b, 'a>
-
Returns:
Reader<'b, 'c>
|
|
Left-to-right Kleisli composition
-
f
:
'a -> Reader<'b, 'c>
-
g
:
'c -> Reader<'b, 'd>
-
x
:
'a
-
Returns:
Reader<'b, 'd>
|
|
Sequentially compose two reader actions, discarding any value produced by the first
-
m
:
Reader<'a, 'b>
-
f
:
Reader<'a, 'c>
-
Returns:
Reader<'a, 'c>
|
|
Sequentially compose two actions, passing any value produced by the first as an argument to the second.
-
m
:
Reader<'a, 'b>
-
f
:
'b -> Reader<'a, 'c>
-
Returns:
Reader<'a, 'c>
|
|
Sequential application
-
m
:
Reader<'a, 'b>
-
f
:
Reader<'a, ('b -> 'c)>
-
Returns:
Reader<'a, 'c>
|
|
-
Returns:
Reader<'R, 'R>
|
|
-
f
:
'a -> 'b
-
Returns:
Reader<'a, 'b>
|
|
-
k
:
'a -> 'b -> 'c
-
m
:
'b -> 'a
-
r
:
'b
-
Returns:
'c
|
|
-
f
:
'a -> 'b -> Reader<'c, 'a>
-
s
:
'a
-
Returns:
'b seq -> Reader<'c, 'a>
|
|
Promote a function to a monad/applicative, scanning the monadic/applicative arguments from left to right.
-
f
:
'a -> 'b -> 'c
-
a
:
Reader<'d, 'a>
-
b
:
Reader<'d, 'b>
-
Returns:
Reader<'d, 'c>
|
|
-
f
:
'r1 -> 'r2
-
m
:
Reader<'r2, 'T>
-
Returns:
Reader<'r1, 'T>
|
|
Transforms a Reader value by using a specified mapping function.
-
f
:
'a -> 'b
-
m
:
Reader<'c, 'a>
-
Returns:
Reader<'c, 'b>
|
|
-
f
:
'a -> Reader<'b, 'c>
-
x
:
'a list
-
Returns:
Reader<'b, 'c list>
|
|
-
Returns:
ReaderBuilder
|
|
Inject a value into the Reader type
-
x
:
'a
-
Returns:
Reader<'b, 'a>
|
|
-
s
:
Reader<'a, 'b> list
-
Returns:
Reader<'a, 'b list>
|