module type S = Multiset_intf.Stype elt 
type t 
val size : t -> intval cardinal : t -> Z.tval empty : tval is_empty : t -> boolval mem : t -> elt -> boolval find : t -> elt -> Z.tZ.zero if the element is not part of the multisetval singleton : elt -> t
val doubleton : elt -> elt -> t
val add : t -> elt -> tval add_coeff : t -> elt -> Z.t -> tval union : t -> t -> tval intersection : t -> t -> tval sum : t -> t -> tval difference : t -> t -> tx has a bigger multiplicity in the
      second argument it won't appear in the resultval product : Z.t -> t -> tval filter : (elt -> Z.t -> bool) ->
       t -> tval map : (elt -> elt) ->
       t -> tval map_coeff : (elt -> Z.t -> Z.t) -> t -> tval filter_map : (elt -> Z.t -> (elt * Z.t) option) ->
       t -> tval flat_map : (elt -> t) ->
       t -> tmodule Seq:sig..end
val iter : (elt -> unit) -> t -> unitval fold : ('a -> elt -> 'a) -> 'a -> t -> 'aval iter_coeffs : (elt -> Z.t -> unit) -> t -> unitval fold_coeffs : ('a -> elt -> Z.t -> 'a) -> 'a -> t -> 'aval for_all : (elt -> bool) -> t -> bool
val exists : (elt -> bool) -> t -> bool
val choose : t -> eltNot_found if the multiset is emptyval of_list : elt list -> tval of_coeffs : (elt * Z.t) list -> tval of_iarray : elt IArray.t -> tval of_array : elt array -> t
val to_list : t -> (elt * Z.t) listval eq : t -> t -> boolval cancel : t ->
       t -> t * t{1,1,2} and {1,2,2,3}, cancel will return ({1}, {2,3})
  In the following, the comparison function must be equality-compatible
  with E.compare. In other words, if E.compare x y = 0 then
  f x y = Comparison.Eq must hold.
val compare : t -> t -> intE.compareval compare_partial : (elt -> elt -> Comparison.t) ->
       t -> t -> Comparison.tval is_max : (elt -> elt -> Comparison.t) ->
       elt -> t -> boolval max : (elt -> elt -> Comparison.t) ->
       t -> tval max_seq : (elt -> elt -> Comparison.t) ->
       t -> (elt, Z.t) Sequence.t2val max_l : (elt -> elt -> Comparison.t) ->
       elt list -> elt listval compare_partial_l : (elt -> elt -> Comparison.t) ->
       elt list -> elt list -> Comparison.tval pp : elt CCFormat.printer -> t CCFormat.printer