fsprojects/FSharpx.Collections


EagerRoseTree

Namespace: FSharpx.Collections.Experimental

Functions and values

Function or valueDescription
ap x f
Signature: x:EagerRoseTree<'?13555> -> f:EagerRoseTree<('?13555 -> '?13556)> -> EagerRoseTree<'?13556>
Type parameters: '?13555, '?13556
bind f x
Signature: f:('?13562 -> EagerRoseTree<'?13563>) -> x:EagerRoseTree<'?13562> -> EagerRoseTree<'?13563>
Type parameters: '?13562, '?13563
create root children
Signature: root:'?13548 -> children:EagerRoseForest<'?13548> -> EagerRoseTree<'?13548>
Type parameters: '?13548
dfsPost x
Signature: x:EagerRoseTree<'?13567> -> seq<'?13567>
Type parameters: '?13567

CompiledName: DfsPost

dfsPre x
Signature: x:EagerRoseTree<'?13565> -> seq<'?13565>
Type parameters: '?13565

CompiledName: DfsPre

lift2 f a b
Signature: f:('?13558 -> '?13559 -> '?13560) -> a:EagerRoseTree<'?13558> -> b:EagerRoseTree<'?13559> -> EagerRoseTree<'?13560>
Type parameters: '?13558, '?13559, '?13560
map f x
Signature: f:('?13552 -> '?13553) -> x:EagerRoseTree<'?13552> -> EagerRoseTree<'?13553>
Type parameters: '?13552, '?13553
mapAccum f state tree
Signature: f:('?13575 -> '?13576 -> '?13575 * '?13577) -> state:'?13575 -> tree:EagerRoseTree<'?13576> -> '?13575 * EagerRoseTree<'?13577>
Type parameters: '?13575, '?13576, '?13577

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.

singleton x
Signature: x:'?13550 -> EagerRoseTree<'?13550>
Type parameters: '?13550
unfold f seed
Signature: f:('?13569 -> '?13570 * '?13569 list) -> seed:'?13569 -> EagerRoseTree<'?13570>
Type parameters: '?13569, '?13570
unfoldForest f
Signature: f:('?13572 -> '?13573 * '?13572 list) -> '?13572 list -> EagerRoseForest<'?13573>
Type parameters: '?13572, '?13573
Fork me on GitHub