mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
fix(list): support 4.03 (using CCList.init)
This commit is contained in:
parent
6d2dc4ccf4
commit
c030beaf52
1 changed files with 1 additions and 1 deletions
|
|
@ -769,7 +769,7 @@ let sorted_diff ~cmp l1 l2 =
|
|||
let l = sorted_diff ~cmp:CCInt.compare (List.sort CCInt.compare l1) (List.sort CCInt.compare l2) in \
|
||||
l = sort CCInt.compare l) (* [is_sorted] is after this function *)
|
||||
Q.(triple small_nat small_nat int) (fun (n1,n2,x) -> \
|
||||
let l = sorted_diff ~cmp:CCInt.compare (List.init n1 (fun _ -> x)) (List.init n2 (fun _ -> x)) in \
|
||||
let l = sorted_diff ~cmp:CCInt.compare (CCList.init n1 (fun _ -> x)) (CCList.init n2 (fun _ -> x)) in \
|
||||
count (CCInt.equal x) l = CCInt.max (n1 - n2) 0)
|
||||
*)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue