mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
fix: compat in CCArray
This commit is contained in:
parent
68e539173f
commit
f6dc3b23f8
1 changed files with 4 additions and 0 deletions
|
|
@ -720,11 +720,15 @@ module Infix = struct
|
|||
let (--) = (--)
|
||||
let (--^) = (--^)
|
||||
|
||||
[@@@ifge 4.8]
|
||||
|
||||
type 'a t = 'a array
|
||||
let ( let* ) = (>>=)
|
||||
let (let+) = (>|=)
|
||||
let[@inline] (and+) a1 a2 = monoid_product (fun x y->x,y) a1 a2
|
||||
let ( and* ) = (and+)
|
||||
|
||||
[@@@endif]
|
||||
end
|
||||
|
||||
include Infix
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue