Rmqtype min_array = {length : int; | (* Number of elements in the array *) |
cmp : int -> int -> bool; | (*
|
}An abstract representation of an array supporting the comparison of its elements.
val of_array : ( 'a -> 'a -> bool ) -> 'a array -> min_arrayof_array cmp arr returns an implementation of min_array using cmp to compare the elements of the array arr. The function cmp x y should return true if x is less than or equal to the value y.
module type S = sig ... end