git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Pierre Weis 2000-05-24 14:32:25 +00:00
parent 5c8badadbc
commit 2dfad7aeef
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ val fold_right: f:('b -> 'a -> 'a) -> 'b array -> init:'a -> 'a
(** Sorting *)
val sort : cmp:('a -> 'a -> int) -> 'a array -> unit;;
(* Sort an array in increasing order according to a comparison
function. The comparison function must return 0 if it arguments
function. The comparison function must return 0 if its arguments
compare as equal, a positive integer if the first is greater,
and a negative integer if the first is smaller. For example,
the [compare] function is a suitable comparison function.