fsprojects/FSharpx.Collections


IQueue<'T>

Namespace: FSharpx.Collections
Parent Module: Interfaces

Instance members

Instance memberDescription
Count()
Signature: unit -> int
Modifiers: abstract

returns the count of elememts

Head
Signature: 'T
Modifiers: abstract

returns the first element

CompiledName: get_Head

IsEmpty
Signature: bool
Modifiers: abstract

returns true if the queue has no elements

CompiledName: get_IsEmpty

Length()
Signature: unit -> int
Modifiers: abstract

returns the count of elememts

Snoc(arg1)
Signature: 'T -> IQueue<'T>
Modifiers: abstract

returns a new queue with the element added to the end

Tail
Signature: IQueue<'T>
Modifiers: abstract

returns a new queue of the elements trailing the first element

CompiledName: get_Tail

TryGetHead
Signature: 'T option
Modifiers: abstract

returns option first element

CompiledName: get_TryGetHead

TryGetTail
Signature: IQueue<'T> option
Modifiers: abstract

returns option queue of the elements trailing the first element

CompiledName: get_TryGetTail

TryUncons
Signature: ('T * IQueue<'T>) option
Modifiers: abstract

CompiledName: get_TryUncons

Uncons
Signature: 'T * IQueue<'T>
Modifiers: abstract

returns the first element and tail

CompiledName: get_Uncons

Fork me on GitHub