mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
parent
26c8eb33bf
commit
113d03225f
1 changed files with 3 additions and 0 deletions
|
|
@ -44,6 +44,9 @@ let map f eq x y = eq (f x) (f y)
|
|||
CCEqual.(list (pair int bool)) l1 l2 = (l1=l2))
|
||||
*)
|
||||
|
||||
let always_eq _ _ = true
|
||||
let never_eq _ _ = false
|
||||
|
||||
module Infix = struct
|
||||
let (>|=) x f = map f x
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue