Partager via


Collections.ComparisonIdentity Module (F#)

Common notions of comparison identity used with sorted data structures.

Namespace/Module Path: Microsoft.FSharp.Collections

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

module ComparisonIdentity

Values

Value

Description

FromFunction : ('T -> 'T -> int) -> IComparer<'T>

Compare using the given comparer function.

Structural : IComparer<'T>

Structural comparison. Compare using Operators.compare.

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