'T list Type
- Namespace: FSharp.Collections
- Assembly: FSharp.Core.dll
-
Abbreviation For:
List<'T> -
Base Type:
obj -
All Interfaces:
IStructuralEquatable,IComparable<List<'T>>,IComparable,IStructuralComparable,IReadOnlyList<'T>,IReadOnlyCollection<'T>,IEnumerable<'T>,IEnumerable
The type of immutable singly-linked lists.
See the List module for further operations related to lists.
Use the constructors [] and :: (infix) to create values of this type, or
the notation [1; 2; 3]. Use the values in the List module to manipulate
values of this type, or pattern match against the values directly.
See also F# Language Guide - Lists.
Instance members
| Instance member |
Description
|
Full Usage:
this.Head
Returns: 'T
|
|
|
|
Full Usage:
this[index]
Parameters:
int
-
The index.
Returns: 'T
The value at the given index.
|
Lists are represented as linked lists so this is an O(n) operation.
|
|
|
|
Static members
| Static member |
Description
|
|
|

FSharp.Core