fsprojects/FSharpx.Collections


IDeque<'T>

Namespace: FSharpx.Collections
Parent Module: Interfaces

Instance members

Instance memberDescription
Cons(arg1)
Signature: 'T -> IDeque<'T>
Modifiers: abstract

returns a new deque with the element added to the beginning

Count
Signature: int
Modifiers: abstract

returns the count of elememts

CompiledName: get_Count

Head
Signature: 'T
Modifiers: abstract

returns the first element

CompiledName: get_Head

Init
Signature: IDeque<'T>
Modifiers: abstract

returns a new deque of the elements before the last element

CompiledName: get_Init

IsEmpty
Signature: bool
Modifiers: abstract

returns true if the deque has no elements

CompiledName: get_IsEmpty

Last
Signature: 'T
Modifiers: abstract

returns the last element

CompiledName: get_Last

Length
Signature: int
Modifiers: abstract

returns the count of elememts

CompiledName: get_Length

Lookup(arg1)
Signature: int -> 'T
Modifiers: abstract

returns element by index

Remove(arg1)
Signature: int -> IDeque<'T>
Modifiers: abstract

returns deque with element removed by index

Rev
Signature: IDeque<'T>
Modifiers: abstract

returns deque reversed

CompiledName: get_Rev

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

returns a new deque with the element added to the end

Tail
Signature: IDeque<'T>
Modifiers: abstract

returns a new deque of the elements trailing the first element

CompiledName: get_Tail

TryGetHead
Signature: 'T option
Modifiers: abstract

returns option first element

CompiledName: get_TryGetHead

TryGetInit
Signature: IDeque<'T> option
Modifiers: abstract

returns option deque of the elements before the last element

CompiledName: get_TryGetInit

TryGetLast
Signature: 'T option
Modifiers: abstract

returns option last element

CompiledName: get_TryGetLast

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

returns option deque of the elements trailing the first element

CompiledName: get_TryGetTail

TryLookup(arg1)
Signature: int -> 'T option
Modifiers: abstract

returns option element by index

TryRemove(arg1)
Signature: int -> IDeque<'T> option
Modifiers: abstract
TryUncons
Signature: ('T * IDeque<'T>) option
Modifiers: abstract

CompiledName: get_TryUncons

TryUnsnoc
Signature: (IDeque<'T> * 'T) option
Modifiers: abstract

returns option init and the last element

CompiledName: get_TryUnsnoc

TryUpdate(arg1 arg2)
Signature: int -> 'T -> IDeque<'T> option
Modifiers: abstract

returns option deque with element updated by index

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

returns the first element and tail

CompiledName: get_Uncons

Unsnoc
Signature: IDeque<'T> * 'T
Modifiers: abstract

returns init and the last element

CompiledName: get_Unsnoc

Update(arg1 arg2)
Signature: int -> 'T -> IDeque<'T>
Modifiers: abstract

returns deque with element updated by index

Fork me on GitHub