fsprojects/FSharpx.Collections


IRandomAccessList<'T>

Namespace: FSharpx.Collections
Parent Module: Interfaces

Instance members

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

returns a new random access list with the element added to the beginning

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 random access list has no elements

CompiledName: get_IsEmpty

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

returns the count of elememts

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

returns element by index

Rev()
Signature: unit -> IRandomAccessList<'T>
Modifiers: abstract

returns random access list reversed

Tail
Signature: IRandomAccessList<'T>
Modifiers: abstract

returns a new random access list 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: IRandomAccessList<'T> option
Modifiers: abstract

returns a option random access list of the elements trailing the first element

CompiledName: get_TryGetTail

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

returns option element by index

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

returns the option first element and tail

CompiledName: get_TryUncons

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

returns option random access list with element updated by index

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

returns the first element and tail

CompiledName: get_Uncons

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

returns random access list with element updated by index

Fork me on GitHub