Module B0_std.List

module List: sig .. end

Lists.


include List
val classify : ?cmp_elts:('a -> 'a -> int) ->
?cmp_classes:('b -> 'b -> int) ->
classes:('a -> 'b list) -> 'a list -> ('b * 'a list) list

classify ~cmp_elts ~cmp_classes ~classes els bins elements els into classes as determined by classes. cmp_elts is used to compare elements and cmp_classes to compare classes, both default to Pervasives.compare.