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 arrays
  • Module Array2D: Basic operations on two-dimensional arrays
  • Module Array3D: Basic operations on rank 3 arrays
  • Module Array4D: Basic operations on rank 4 arrays
  • Module ComparisonIdentity: Common notions of comparison identity used with sorted data structures
  • Module HashIdentity: Common notions of value identity used with hash tables
  • Module List: Basic operations on lists
  • Module Map: Functional programming ...

Get F# High Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.