fsprojects/FSharpx.Collections


IHeap<'c, 'T>

Namespace: FSharpx.Collections
Parent Module: Interfaces

Instance members

Instance memberDescription
Insert(arg1)
Signature: 'T -> 'c
Modifiers: abstract

returns a new heap with the element inserted

Merge(arg1)
Signature: 'c -> 'c
Modifiers: abstract

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

Tail()
Signature: unit -> 'c
Modifiers: abstract

returns a new heap of the elements trailing the head

TryGetTail()
Signature: unit -> 'c option
Modifiers: abstract

returns option heap of the elements trailing the head

TryMerge(arg1)
Signature: 'c -> 'c option
Modifiers: abstract

returns heap option from merging two heaps

TryUncons()
Signature: unit -> ('T * 'c) option
Modifiers: abstract

returns option head element and tail

Uncons()
Signature: unit -> 'T * 'c
Modifiers: abstract

returns the head element and tail

Fork me on GitHub