module Integer_asc:sig
..end
hash
and cmp
function for Mapred_sorters.generic_sorter
.
The functions are defined so that the records are sorted in an
ascending way by key. The key is interpreted as integer (digits
0 to 9, possibly prefixed by +
or -
). Characters violating the
integer 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