Best practices in using F# collections
The F# types are mostly describing types that are not collection types. F# has its own unique collection types as well.
The F# collection features are mostly implemented as modules, with the namespace of Microsoft.FSharp.Collections
. The following are the F# collection modules:
Module
Array
: Basic operations on arraysModule
Array2D
: Basic operations on two-dimensional arraysModule
Array3D
: Basic operations on rank 3 arraysModule
Array4D
: Basic operations on rank 4 arraysModule
ComparisonIdentity
: Common notions of comparison identity used with sorted data structuresModule
HashIdentity
: Common notions of value identity used with hash tablesModule
List
: Basic operations on listsModule
Map
: Functional programming operators related to theMap
typeModule
Seq
: Basic operations on enumerable collectionsModule
Set
: Functional programming operators related to theSet
type
List
, Map
, and Set
are unique to F#.
For more information about F# collections, please consult...