Add OCaml 5.4 support

This commit is contained in:
Kate 2025-05-26 23:34:20 +01:00
parent 14ad8c1f2a
commit 33297ce82b

View file

@ -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