Share via


Collections.HashIdentity Module (F#)

Common notions of value identity used with hash tables.

Namespace/Module Path: Microsoft.FSharp.Collections

Assembly: FSharp.Core (in FSharp.Core.dll)

module HashIdentity

Values

Value

Description

FromFunctions : ('T -> int) -> ('T -> 'T -> bool) -> IEqualityComparer<'T>

Hash using the given hashing and equality functions.

LimitedStructural : int -> IEqualityComparer<'T>

Provides structural hashing up to a specified number of elements.

Reference : IEqualityComparer<'T>

Implements physical hashing, which means that it hashes on reference identity of objects, and the contents of value types..

Structural : IEqualityComparer<'T>

Implements structural hashing. Hashes using Operators.(=) and Operators.hash.

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#)