Compartilhar 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 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Microsoft.FSharp.Collections Namespace (F#)