Qortora · Search · Indexed page

fsharp.github.ioFetched 2026-08-14T02:51:30Z

'T list (FSharp.Core)

'T list (FSharp.Core) | FSharp.Core Links License Release Notes Source Repository Namespaces FSharp.Collections FSharp.Control FSharp.Control.TaskBuilderExtensions FSharp.Core FSharp.Core.CompilerServices FSharp.Linq FSharp.Linq.RuntimeHelpers FSharp.NativeInterop FSharp.Quotatio…

Open original source · Full cached text

'T list (FSharp.Core) | FSharp.Core Links License Release Notes Source Repository Namespaces FSharp.Collections FSharp.Control FSharp.Control.TaskBuilderExtensions FSharp.Core FSharp.Core.CompilerServices FSharp.Linq FSharp.Linq.RuntimeHelpers FSharp.NativeInterop FSharp.Quotations FSharp.Reflection FSharp.Core Links License Release Notes Source Repository Namespaces FSharp.Collections FSharp.Control FSharp.Control.TaskBuilderExtensions FSharp.Core FSharp.Core.CompilerServices FSharp.Linq FSharp.Linq.RuntimeHelpers FSharp.NativeInterop FSharp.Quotations FSharp.Reflection '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 this.Head Full Usage: this.Head Returns: 'T Gets the first element of the list ')"> Returns: 'T this.IsEmpty Full Usage: this.IsEmpty Returns: bool Gets a value indicating if the list contains no entries ')"> Returns: bool this[index] Full Usage: this[index] Parameters: index : int - The index. Returns: 'T The value at the given index. Gets the element of the list at the given position. ')"> Lists are represented as linked lists so this is an O(n) operation. index : int The index. Returns: 'T The value at the given index. this.Length Full Usage: this.Length Returns: int Gets the number of items contained in the list ')"> Returns: int this.Tail Full Usage: this.Tail Returns: 'T list Gets the tail of the list, which is a list containing all the elements of the list, excluding the first element ')"> Returns: 'T list Static members Static member Description List.Empty Full Usage: List.Empty Returns: 'T list Returns an empty list of a particular type ')"> Returns: 'T list On this page Type something to start searching.