mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
Add OCaml 5.4 support
This commit is contained in:
parent
14ad8c1f2a
commit
33297ce82b
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ let sort_indices cmp a =
|
||||||
Array.sort (fun k1 k2 -> cmp a.(k1) a.(k2)) b;
|
Array.sort (fun k1 k2 -> cmp a.(k1) a.(k2)) b;
|
||||||
b
|
b
|
||||||
|
|
||||||
let sort_ranking cmp a = sort_indices compare (sort_indices cmp a)
|
let sort_ranking cmp a = sort_indices Int.compare (sort_indices cmp a)
|
||||||
|
|
||||||
let rev a =
|
let rev a =
|
||||||
let b = Array.copy a in
|
let b = Array.copy a in
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue