FSharpx.Collections


BinaryRoseTree Module

Functions and values

Function or value Description

BinaryRoseTree.createForest root children sibling

Full Usage: BinaryRoseTree.createForest root children sibling

Parameters:
Returns: BinaryRoseTree<'T>
root : 'T
children : BinaryRoseTree<'T>
sibling : BinaryRoseTree<'T>
Returns: BinaryRoseTree<'T>

BinaryRoseTree.createTree root children

Full Usage: BinaryRoseTree.createTree root children

Parameters:
Returns: BinaryRoseTree<'T>
root : 'T
children : BinaryRoseTree<'T>
Returns: BinaryRoseTree<'T>

BinaryRoseTree.empty

Full Usage: BinaryRoseTree.empty

Returns: BinaryRoseTree<'a>
Returns: BinaryRoseTree<'a>

BinaryRoseTree.map f tree

Full Usage: BinaryRoseTree.map f tree

Parameters:
Returns: BinaryRoseTree<'b>
f : 'a -> 'b
tree : BinaryRoseTree<'a>
Returns: BinaryRoseTree<'b>

BinaryRoseTree.ofSeq xs

Full Usage: BinaryRoseTree.ofSeq xs

Parameters:
    xs : seq<obj>

Returns: BinaryRoseTree<obj>

loads from sequences of objects and sequences of objects, assumed to be well-constructed elements in final tree will be objects, regardless of original type

xs : seq<obj>
Returns: BinaryRoseTree<obj>

BinaryRoseTree.postOrder x

Full Usage: BinaryRoseTree.postOrder x

Parameters:
Returns: seq<'a>
x : BinaryRoseTree<'a>
Returns: seq<'a>

BinaryRoseTree.preOrder x

Full Usage: BinaryRoseTree.preOrder x

Parameters:
Returns: seq<'a>
x : BinaryRoseTree<'a>
Returns: seq<'a>

BinaryRoseTree.singleton root

Full Usage: BinaryRoseTree.singleton root

Parameters:
    root : 'a

Returns: BinaryRoseTree<'a>
root : 'a
Returns: BinaryRoseTree<'a>