package jhupllib

  1. Overview
  2. Docs

Parameters

Signature

include Multimap_sig with type key = Key_ord.t and type value = Value_ord.t
type t
type key = Key_ord.t
type value = Value_ord.t
module M : Batteries.Map.S with type key = key
module S : Batteries.Set.S with type elt = value
val empty : t
val is_empty : t -> bool
val num_keys : t -> int
val num_values : t -> int
val add : key -> value -> t -> t
val add_all : key -> value Batteries.Enum.t -> t -> t
val find : key -> t -> value Batteries.Enum.t
val remove : key -> value -> t -> t
val remove_all : key -> t -> t
val mem : key -> value -> t -> bool
val mem_any : key -> t -> bool
val singleton : key -> value -> t
val keys : t -> key Batteries.Enum.t
val enum : t -> (key * value) Batteries.Enum.t
val of_enum : (key * value) Batteries.Enum.t -> t
val enum_by_key : t -> (key * S.t) Batteries.Enum.t
val equal : t -> t -> bool
val compare : t -> t -> int
OCaml

Innovation. Community. Security.