mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-03-08 06:37:59 -04:00
fix(CCSeq): correct conditional compilation version for init
Seq.init was added in OCaml 4.14, not 4.11. This aligns the implementation with the interface which was already correctly marked with [@@@iflt 4.14].
This commit is contained in:
parent
df7619786c
commit
1aa8b869e5
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ let cons a b () = Cons (a, b)
|
||||||
let singleton x () = Cons (x, nil)
|
let singleton x () = Cons (x, nil)
|
||||||
|
|
||||||
[@@@endif]
|
[@@@endif]
|
||||||
[@@@iflt 4.11]
|
[@@@iflt 4.14]
|
||||||
|
|
||||||
let init n f =
|
let init n f =
|
||||||
let rec aux i () =
|
let rec aux i () =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue