FSharpx.Collections


IHeap<'c, 'T> Type

Instance members

Instance member Description

this.Insert(arg1)

Full Usage: this.Insert(arg1)

Parameters:
    arg0 : 'T

Returns: 'c
Modifiers: abstract

returns a new heap with the element inserted

arg0 : 'T
Returns: 'c

this.Merge(arg1)

Full Usage: this.Merge(arg1)

Parameters:
    arg0 : 'c

Returns: 'c
Modifiers: abstract

returns heap from merging two heaps, both must have same isDescending

arg0 : 'c
Returns: 'c

this.Tail()

Full Usage: this.Tail()

Returns: 'c
Modifiers: abstract

returns a new heap of the elements trailing the head

Returns: 'c

this.TryGetTail()

Full Usage: this.TryGetTail()

Returns: 'c option
Modifiers: abstract

returns option heap of the elements trailing the head

Returns: 'c option

this.TryMerge(arg1)

Full Usage: this.TryMerge(arg1)

Parameters:
    arg0 : 'c

Returns: 'c option
Modifiers: abstract

returns heap option from merging two heaps

arg0 : 'c
Returns: 'c option

this.TryUncons()

Full Usage: this.TryUncons()

Returns: ('T * 'c) option
Modifiers: abstract

returns option head element and tail

Returns: ('T * 'c) option

this.Uncons()

Full Usage: this.Uncons()

Returns: 'T * 'c
Modifiers: abstract

returns the head element and tail

Returns: 'T * 'c