Udostępnij za pośrednictwem


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 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 3

See Also

Reference

Microsoft.FSharp.Collections Namespace (F#)

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

Collections.List Module (F#)

Other Resources

Lists (F#)