Basic operations on Free Monads
Function or value | Description |
Full Usage:
Free.apply f x
Parameters: Returns: Free<^Functor<'U>, 'U>
Modifiers: inline Type parameters: ^Functor<'T->'U>, ^Functor<Free<'Functor<'T->'U>,'T->'U>>, 'T, 'U, ^Functor<Free<'Functor<'U>,'U>>, ^Functor<Free<'Functor<'T>,'T>>, ^Functor<'T>, ^Functor<'U> |
|
|
|
Full Usage:
Free.fold f x
Parameters:
^Functor<'T> -> ^Monad<'T>
x : Free<^Functor<'U>, 'U>
Returns: ^Monad<'U>
Modifiers: inline Type parameters: ^Functor<'T>, ^Functor<'U>, 'U, ^Monad<'T>, ^Monad<'U> |
|
|
|
Full Usage:
Free.iterM f x
Parameters:
^Functor<'Monad<'T>> -> ^Monad<'T>
x : Free<^Functor<'T>, 'T>
Returns: ^Monad<'T>
Modifiers: inline Type parameters: ^Functor<'Monad<'T>>, ^Functor<Free<'Functor<'T>,'T>>, ^Functor<'T>, 'T, ^Monad<'T> |
|
Full Usage:
Free.liftF x
Parameters:
^Functor<'T>
Returns: Free<^Functor<'T>, 'T>
Modifiers: inline Type parameters: ^Functor<'T>, ^Functor<Free<'Functor<'T>,'T>>, 'T |
|
|
|
Full Usage:
Free.map2 f x y
Parameters: Returns: Free<^Functor<'V>, 'V>
Modifiers: inline Type parameters: 'T, 'U, 'V, ^Functor<'T>, ^Functor<Free<'Functor<'T>,'T>>, ^Functor<Free<'Functor<'V>,'V>>, ^Functor<Free<'Functor<'U>,'U>>, ^Functor<'U>, ^Functor<'V> |
|
Full Usage:
Free.map3 f x y z
Parameters:
'T -> 'U -> 'V -> 'W
x : Free<^Functor<'T>, 'T>
y : Free<^Functor<'U>, 'U>
z : Free<^Functor<'V>, 'V>
Returns: Free<^Functor<'W>, 'W>
Modifiers: inline Type parameters: 'T, 'U, 'V, 'W, ^Functor<'T>, ^Functor<Free<'Functor<'T>,'T>>, ^Functor<Free<'Functor<'W>,'W>>, ^Functor<Free<'Functor<'U>,'U>>, ^Functor<'U>, ^Functor<'W>, ^Functor<Free<'Functor<'V>,'V>>, ^Functor<'V> |
|
|
|