FSharpx.Collections


BottomUpMergeSort Module

Types

Type Description

Sortable<'T>

Functions and values

Function or value Description

BottomUpMergeSort.add x y

Full Usage: BottomUpMergeSort.add x y

Parameters:
Returns: Sortable<'a>
x : 'a
y : Sortable<'a>
Returns: Sortable<'a>

BottomUpMergeSort.addSeg seg segs size

Full Usage: BottomUpMergeSort.addSeg seg segs size

Parameters:
    seg : 'a list
    segs : 'a list list
    size : int

Returns: 'a list list
seg : 'a list
segs : 'a list list
size : int
Returns: 'a list list

BottomUpMergeSort.empty

Full Usage: BottomUpMergeSort.empty

Returns: Sortable<'T>
Returns: Sortable<'T>

BottomUpMergeSort.isEmpty x

Full Usage: BottomUpMergeSort.isEmpty x

Parameters:
Returns: bool
x : Sortable<'a>
Returns: bool

BottomUpMergeSort.merge xs ys

Full Usage: BottomUpMergeSort.merge xs ys

Parameters:
    xs : 'a list
    ys : 'a list

Returns: 'a list
xs : 'a list
ys : 'a list
Returns: 'a list

BottomUpMergeSort.mergeAll xs ys

Full Usage: BottomUpMergeSort.mergeAll xs ys

Parameters:
    xs : 'a list
    ys : 'a list list

Returns: 'a list
xs : 'a list
ys : 'a list list
Returns: 'a list

BottomUpMergeSort.singleton x

Full Usage: BottomUpMergeSort.singleton x

Parameters:
    x : 'a

Returns: Sortable<'a>
x : 'a
Returns: Sortable<'a>

BottomUpMergeSort.sort x

Full Usage: BottomUpMergeSort.sort x

Parameters:
Returns: 'a list
x : Sortable<'a>
Returns: 'a list