fsprojects/FSharpx.Collections


BatchedQueue<'T>

Namespace: FSharpx.Collections.Experimental

Constructors

ConstructorDescription
new(front, rBack)
Signature: (front:'T list * rBack:'T list) -> BatchedQueue<'T>

CompiledName: .ctor

Instance members

Instance memberDescription
Head
Signature: 'T

returns the first element

CompiledName: get_Head

IsEmpty
Signature: bool

returns true if the queue has no elements

CompiledName: get_IsEmpty

Length
Signature: int

returns the count of elememts

CompiledName: get_Length

Rev
Signature: BatchedQueue<'T>

returns queue reversed

CompiledName: get_Rev

Snoc(x)
Signature: x:'T -> BatchedQueue<'T>

returns a new queue with the element added to the end

Tail
Signature: BatchedQueue<'T>

returns a new queue of the elements trailing the first element

CompiledName: get_Tail

TryGetHead
Signature: 'T option

returns option first element

CompiledName: get_TryGetHead

TryGetTail
Signature: BatchedQueue<'T> option

returns option queue of the elements trailing the first element

CompiledName: get_TryGetTail

TryUncons
Signature: ('T * BatchedQueue<'T>) option

returns option first element and tail

CompiledName: get_TryUncons

Uncons
Signature: 'T * BatchedQueue<'T>

returns the first element and tail

CompiledName: get_Uncons

Fork me on GitHub