Hash Module
Pipeline-friendly hash combining using System.HashCode.
Functions and values
| Function or value |
Description
|
Full Usage:
Hash.combine2 a b
Parameters:
'a
b : 'b
Returns: int
Modifiers: inline Type parameters: 'a, 'b |
Combines two values into a single hash code. The first value to combine. The second value to combine.
|
Full Usage:
Hash.combine3 a b c
Parameters:
'a
b : 'b
c : 'c
Returns: int
Modifiers: inline Type parameters: 'a, 'b, 'c |
Combines three values into a single hash code. The first value to combine. The second value to combine. The third value to combine.
|
Full Usage:
Hash.combine4 a b c d
Parameters:
'a
b : 'b
c : 'c
d : 'd
Returns: int
Modifiers: inline Type parameters: 'a, 'b, 'c, 'd |
Combines four values into a single hash code. The first value to combine. The second value to combine. The third value to combine. The fourth value to combine.
|
Full Usage:
Hash.ofArray xs
Parameters:
'a[]
Returns: int
Modifiers: inline Type parameters: 'a |
Hashes all elements of an array. The array of elements to hash.
|
Full Usage:
Hash.ofList xs
Parameters:
'a list
Returns: int
Modifiers: inline Type parameters: 'a |
Hashes all elements of a list. The list of elements to hash.
|
Full Usage:
Hash.ofSeq xs
Parameters:
'a seq
Returns: int
|
Hashes all elements of a sequence. Useful for using collections as dictionary keys. The sequence of elements to hash.
|
TDesu.FSharp