FSharpx.Collections


IDeque<'T> Type

Instance members

Instance member Description

this.Cons(arg1)

Full Usage: this.Cons(arg1)

Parameters:
    arg0 : 'T

Returns: IDeque<'T>
Modifiers: abstract

returns a new deque with the element added to the beginning

arg0 : 'T
Returns: IDeque<'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.Init

Full Usage: this.Init

Returns: IDeque<'T>
Modifiers: abstract

returns a new deque of the elements before the last element

Returns: IDeque<'T>

this.IsEmpty

Full Usage: this.IsEmpty

Returns: bool
Modifiers: abstract

returns true if the deque has no elements

Returns: bool

this.Last

Full Usage: this.Last

Returns: 'T
Modifiers: abstract

returns the last element

Returns: 'T

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.Remove(arg1)

Full Usage: this.Remove(arg1)

Parameters:
    arg0 : int

Returns: IDeque<'T>
Modifiers: abstract

returns deque with element removed by index

arg0 : int
Returns: IDeque<'T>

this.Rev

Full Usage: this.Rev

Returns: IDeque<'T>
Modifiers: abstract

returns deque reversed

Returns: IDeque<'T>

this.Snoc(arg1)

Full Usage: this.Snoc(arg1)

Parameters:
    arg0 : 'T

Returns: IDeque<'T>
Modifiers: abstract

returns a new deque with the element added to the end

arg0 : 'T
Returns: IDeque<'T>

this.Tail

Full Usage: this.Tail

Returns: IDeque<'T>
Modifiers: abstract

returns a new deque of the elements trailing the first element

Returns: IDeque<'T>

this.TryGetHead

Full Usage: this.TryGetHead

Returns: 'T option
Modifiers: abstract

returns option first element

Returns: 'T option

this.TryGetInit

Full Usage: this.TryGetInit

Returns: IDeque<'T> option
Modifiers: abstract

returns option deque of the elements before the last element

Returns: IDeque<'T> option

this.TryGetLast

Full Usage: this.TryGetLast

Returns: 'T option
Modifiers: abstract

returns option last element

Returns: 'T option

this.TryGetTail

Full Usage: this.TryGetTail

Returns: IDeque<'T> option
Modifiers: abstract

returns option deque of the elements trailing the first element

Returns: IDeque<'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.TryRemove(arg1)

Full Usage: this.TryRemove(arg1)

Parameters:
    arg0 : int

Returns: IDeque<'T> option
Modifiers: abstract
arg0 : int
Returns: IDeque<'T> option

this.TryUncons

Full Usage: this.TryUncons

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

this.TryUnsnoc

Full Usage: this.TryUnsnoc

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

returns option init and the last element

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

this.TryUpdate(arg1) (arg2)

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

Parameters:
    arg0 : int
    arg1 : 'T

Returns: IDeque<'T> option
Modifiers: abstract

returns option deque with element updated by index

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

this.Uncons

Full Usage: this.Uncons

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

returns the first element and tail

Returns: 'T * IDeque<'T>

this.Unsnoc

Full Usage: this.Unsnoc

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

returns init and the last element

Returns: IDeque<'T> * 'T

this.Update(arg1) (arg2)

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

Parameters:
    arg0 : int
    arg1 : 'T

Returns: IDeque<'T>
Modifiers: abstract

returns deque with element updated by index

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