module Hex_desc:sig
..end
hash
and cmp
function for Mapred_sorters.generic_sorter
.
The functions are defined so that the records are sorted in an
descending way by key. The key is interpreted as hex integer (digits
0 to 9, a to f, A to F, possibly prefixed by +
or -
).
Characters violating the
hex syntax are silently ignored. (Note that the integer range
is not restricted!)val hash : string -> int -> int -> int
val cmp : string -> int -> int -> string -> int -> int -> int