mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-03-07 21:27:55 -05: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
2271ddedcc
commit
9ec34f8bf8
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)
|
||||
|
||||
[@@@endif]
|
||||
[@@@iflt 4.11]
|
||||
[@@@iflt 4.14]
|
||||
|
||||
let init n f =
|
||||
let rec aux i () =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue