Plasma GitLab Archive
Projects Blog Knowledge

Plasma Project:
Home 
Manual 
FAQ 
Slides 
Perf 
Releases 

Module Mapred_sorters.Hex_desc

module Hex_desc: 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 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
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml