[Home] Namespace Microsoft.FSharp.Collections


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

ModuleDescription
Microsoft.FSharp.Collections.LazyList
Microsoft.FSharp.Collections.ResizeArray Generic operations on the type System.Collections.Generic.List, which is called ResizeArray in the F# libraries.

Type Definitions

TypeDescription
type HashMultiMap Hash tables, by default based on F# structural "hash" and (=) functions. The table may map a single key to multiple bindings.
type HashSet Mutable hash sets based by default on F# structural "hash" and (=) functions. Implemented via a hash table and/or Dictionary.
type LazyList LazyLists are possibly-infinite, cached sequences. See also IEnumerable/Seq for uncached sequences. Calling "get" on the same lazy list value you will keep getting the same (cached) result. LazyLists normally involve delayed computations without side-effects, and calling "get" may cause these computations to be executed. The results of these computations are cached - evaluations will be performed only once for each element of the lazy list. This is different to IEnumerable/Seq where recomputation happens each time an enumerator is created and the sequence traversed. LazyLists can represent cached potentially-infinite computations. Because they are cached they may cause memory leaks if some part of your code maintains a live reference to the head of an infinite or very large lazy list while iterating it, or if a reference is maintained after the list is no longer required. Although lazy lists are an abstract type you may pattern match against them using the LazyList.Cons and LazyList.Nil active patterns. These may force the computation of elements of the list.

See Also

Namespaces


Documentation for assembly FSharp.PowerPack, version 1.9.6.16, generated using F# Programming Language version 1.9.6.16