Function or value | Description |
Full Usage:
EagerRoseTree.ap x f
Parameters:
EagerRoseTree<'a>
f : EagerRoseTree<('a -> 'b)>
Returns: EagerRoseTree<'b>
|
|
Full Usage:
EagerRoseTree.bind f x
Parameters:
'a -> EagerRoseTree<'b>
x : EagerRoseTree<'a>
Returns: EagerRoseTree<'b>
|
|
Full Usage:
EagerRoseTree.create root children
Parameters:
'a
children : EagerRoseForest<'a>
Returns: EagerRoseTree<'a>
|
|
|
|
|
|
Full Usage:
EagerRoseTree.lift2 f a b
Parameters:
'a -> 'b -> 'c
a : EagerRoseTree<'a>
b : EagerRoseTree<'b>
Returns: EagerRoseTree<'c>
|
|
Full Usage:
EagerRoseTree.map f x
Parameters:
'a -> 'b
x : EagerRoseTree<'a>
Returns: EagerRoseTree<'b>
|
|
Full Usage:
EagerRoseTree.mapAccum f state tree
Parameters:
'a -> 'b -> 'a * 'c
state : 'a
tree : EagerRoseTree<'b>
Returns: 'a * EagerRoseTree<'c>
|
Behaves like a combination of map and fold; it applies a function to each element of a tree, passing an accumulating parameter, and returning a final value of this accumulator together with the new tree.
|
|
|
Full Usage:
EagerRoseTree.unfold f seed
Parameters:
'a -> 'b * 'a list
seed : 'a
Returns: EagerRoseTree<'b>
|
|
Full Usage:
EagerRoseTree.unfoldForest f
Parameters:
'a -> 'b * 'a list
Returns: 'a list -> EagerRoseForest<'b>
|
|