Collections.List<'T> Union (F#)
The type of immutable singly-linked lists.
Namespace/Module Path: Microsoft.FSharp.Collections
Assembly: FSharp.Core (in FSharp.Core.dll)
[<DefaultAugmentation(false)>] [<StructuralEquality>] [<StructuralComparison>] type List<'T> = | (  ) | ( :: ) of 'T * 'T list with interface IStructuralEquatable interface IComparable interface IComparable interface IStructuralComparable interface IEnumerable interface IEnumerable static member List.Cons : 'T * 'T list -> 'T list static member List.Empty : 'T list member this.Head : 'T member this.IsEmpty : bool member this.Item (int) : 'T member this.Length : int member this.Tail : 'T list end
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.
This type is named FSharpList in the .NET assembly. If accessing the type from a .NET language other than F#, or through reflection, use this name.
Gets the first element of the list.
Gets a value indicating if the list contains no entries.
Gets the element of the list at the given position.
Gets the number of items contained in the list.
Gets the tail of the list, which is a list containing all the elements of the list, excluding the first element.