Plasma GitLab Archive
Projects Blog Knowledge

Plasma Project:
Home 
Manual 
FAQ 
Slides 
Perf 
Releases 

Module Mapred_sorters.Integer_asc

module Integer_asc: sig .. end
Exports a 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
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml