mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
is_empty in Multiset
This commit is contained in:
parent
f93c5865a4
commit
07480c6a82
2 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,8 @@ module type S = sig
|
|||
|
||||
val empty : t
|
||||
|
||||
val is_empty : t -> bool
|
||||
|
||||
val mem : t -> elt -> bool
|
||||
|
||||
val count : t -> elt -> int
|
||||
|
|
@ -78,6 +80,8 @@ module Make(O : Set.OrderedType) = struct
|
|||
|
||||
let empty = M.empty
|
||||
|
||||
let is_empty = M.is_empty
|
||||
|
||||
let mem ms x = M.mem x ms
|
||||
|
||||
let count ms x =
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ module type S = sig
|
|||
|
||||
val empty : t
|
||||
|
||||
val is_empty : t -> bool
|
||||
|
||||
val mem : t -> elt -> bool
|
||||
|
||||
val count : t -> elt -> int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue