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:
Simon Cruanes 2026-02-12 11:46:26 +00:00
parent 2271ddedcc
commit 9ec34f8bf8
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -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 () =