Compartilhar via


Collections.list<'T> Type Abbreviation (F#)

An abbreviation for List, the type of immutable singly-linked lists.

Namespace/Module Path: Microsoft.FSharp.Collections

Assembly: FSharp.Core (in FSharp.Core.dll)

type list<'T> = List<'T>

Remarks

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.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Microsoft.FSharp.Collections Namespace (F#)

Collections.List<'T> Union (F#)

Collections.List Module (F#)

Other Resources

Lists (F#)