A module of comparison and equality operators that are statically resolved, but which are not fully generic and do not make structural comparison. Opening this module may make code that relies on structural or generic comparison no longer compile.
Function or value | Description |
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
compare e1 e2
Parameters:
^T
-
The first value.
e2 : ^T
-
The second value.
Returns: int
The result of the comparison.
Modifiers: inline Type parameters: ^T |
|
Full Usage:
hash value
Parameters:
'T
-
The value.
Returns: int
The hash code.
Modifiers: inline Type parameters: 'T |
|
Full Usage:
max e1 e2
Parameters:
^T
-
The first value.
e2 : ^T
-
The second value.
Returns: ^T
The maximum value.
Modifiers: inline Type parameters: ^T |
|
Full Usage:
min e1 e2
Parameters:
^T
-
The first value.
e2 : ^T
-
The second value.
Returns: ^T
The minimum value.
Modifiers: inline Type parameters: ^T |