mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-18 16:46:40 -05:00
Fix Int32 and Int64 operators are not visible
Operators are defined in the Infix module. This module was included in the .ml file but not in the .mli file
This commit is contained in:
parent
8060980266
commit
ac5908d95c
3 changed files with 6 additions and 3 deletions
|
|
@ -36,10 +36,9 @@ val map : ('a -> 'b) -> 'b t -> 'a t
|
|||
[map fst int] compares values of type [(int * 'a)] by their
|
||||
first component. *)
|
||||
|
||||
val (>|=) : 'b t -> ('a -> 'b) -> 'a t
|
||||
(** Infix equivalent of {!map}. *)
|
||||
|
||||
module Infix : sig
|
||||
val (>|=) : 'b t -> ('a -> 'b) -> 'a t
|
||||
(** Infix equivalent of {!map}. *)
|
||||
end
|
||||
|
||||
include module type of Infix
|
||||
|
|
|
|||
|
|
@ -90,6 +90,8 @@ module Infix : sig
|
|||
val (<) : t -> t -> bool
|
||||
end
|
||||
|
||||
include module type of Infix
|
||||
|
||||
val equal : t -> t -> bool
|
||||
(** The equal function for 32-bit integers.
|
||||
Like {!Pervasives.(=) x y)}. *)
|
||||
|
|
|
|||
|
|
@ -90,6 +90,8 @@ module Infix : sig
|
|||
val (<) : t -> t -> bool
|
||||
end
|
||||
|
||||
include module type of Infix
|
||||
|
||||
val equal : t -> t -> bool
|
||||
(** The equal function for 64-bit integers.
|
||||
Like {!Pervasives.(=) x y)}. *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue