FSharpx.Collections


IRandomAccessList<'T> Type

Instance members

Instance member Description

this.Cons(arg1)

Full Usage: this.Cons(arg1)

Parameters:
    arg0 : 'T

Returns: IRandomAccessList<'T>
Modifiers: abstract

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

arg0 : 'T
Returns: IRandomAccessList<'T>

this.Count()

Full Usage: this.Count()

Returns: int
Modifiers: abstract

returns the count of elements

Returns: int

this.Head

Full Usage: this.Head

Returns: 'T
Modifiers: abstract

returns the first element

Returns: 'T

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool
Modifiers: abstract

returns true if the random access list has no elements

Returns: bool

this.Length()

Full Usage: this.Length()

Returns: int
Modifiers: abstract

returns the count of elements

Returns: int

this.Lookup(arg1)

Full Usage: this.Lookup(arg1)

Parameters:
    arg0 : int

Returns: 'T
Modifiers: abstract

returns element by index

arg0 : int
Returns: 'T

this.Rev()

Full Usage: this.Rev()

Returns: IRandomAccessList<'T>
Modifiers: abstract

returns random access list reversed

Returns: IRandomAccessList<'T>

this.Tail

Full Usage: this.Tail

Returns: IRandomAccessList<'T>
Modifiers: abstract

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

Returns: IRandomAccessList<'T>

this.TryGetHead

Full Usage: this.TryGetHead

Returns: 'T option
Modifiers: abstract

returns option first element

Returns: 'T option

this.TryGetTail

Full Usage: this.TryGetTail

Returns: IRandomAccessList<'T> option
Modifiers: abstract

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

Returns: IRandomAccessList<'T> option

this.TryLookup(arg1)

Full Usage: this.TryLookup(arg1)

Parameters:
    arg0 : int

Returns: 'T option
Modifiers: abstract

returns option element by index

arg0 : int
Returns: 'T option

this.TryUncons

Full Usage: this.TryUncons

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

returns the option first element and tail

Returns: ('T * IRandomAccessList<'T>) option

this.TryUpdate(arg1) (arg2)

Full Usage: this.TryUpdate(arg1) (arg2)

Parameters:
    arg0 : int
    arg1 : 'T

Returns: IRandomAccessList<'T> option
Modifiers: abstract

returns option random access list with element updated by index

arg0 : int
arg1 : 'T
Returns: IRandomAccessList<'T> option

this.Uncons

Full Usage: this.Uncons

Returns: 'T * IRandomAccessList<'T>
Modifiers: abstract

returns the first element and tail

Returns: 'T * IRandomAccessList<'T>

this.Update(arg1) (arg2)

Full Usage: this.Update(arg1) (arg2)

Parameters:
    arg0 : int
    arg1 : 'T

Returns: IRandomAccessList<'T>
Modifiers: abstract

returns random access list with element updated by index

arg0 : int
arg1 : 'T
Returns: IRandomAccessList<'T>