[Home] Namespace Microsoft.FSharp.Collections


Modules (as contributed by assembly 'FSharp.Core')

ModuleDescription
Microsoft.FSharp.Collections.Array Basic operations on arrays
Microsoft.FSharp.Collections.Array2 Basic operations on 2-dimensional arrays. F# and .NET multi-dimensional arrays are typically zero-based. However, .NET multi-dimensional arrays used in conjunction with external libraries (e.g. libraries associated with Visual Basic) be non-zero based, using a potentially different base for each dimension. The operations in this module will accept such arrays, and the basing on an input array will be propogated to a matching output array on the Array2.map and Array2.mapi operations. Non-zero-based arrays can also be created using Array2.zero_create_based, Array2.create_based and Array2.init_based.
Microsoft.FSharp.Collections.Array3 Basic operations on 3-dimensional arrays.
Microsoft.FSharp.Collections.ComparisonIdentity Common notions of comparison identity used with sorted data structures.
Microsoft.FSharp.Collections.HashIdentity Common notions of value identity used with hash tables.
Microsoft.FSharp.Collections.List Basic operations on lists.
Microsoft.FSharp.Collections.Map Immutable maps using structural comparison Maps based on structural comparison are efficient. They are not a suitable choice if keys are recursive data structures or require non-structural comparison semantics.
Microsoft.FSharp.Collections.ResizeArray Generic operations on the type System.Collections.Generic.List, which is called ResizeArray in the F# libraries.
Microsoft.FSharp.Collections.Seq Basic operations on IEnumerables.
Microsoft.FSharp.Collections.Set

Type Definitions

TypeDescription
type list The type of immutable singly-linked 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. Note: an abbreviation for List<'a>
type List The type of immutable singly-linked 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.
type Map Immutable maps. Keys are ordered by F# generic comparison. Maps based on generic comparison are efficient for small keys. They are not a suitable choice if keys are recursive data structures or if keys require bespoke comparison semantics.
type ResizeArray Note: an abbreviation for List<'a>
type seq Note: an abbreviation for IEnumerable<'a>
type Set Immutable sets based on binary trees, where comparison is the F# structural comparison function, potentially using implementations of the IComparable interface on key values. See the Set module for further operations on sets. These sets can be used with elements of any type, but you should check that structural hashing and equality on the element type are correct for your type.

See Also

Namespaces


Documentation for assembly FSharp.Core, version 1.9.6.0, generated using F# Programming Language version 1.9.6.0