package camllib

  1. Overview
  2. Docs
type (!'a, !'b) t = {
  1. xy : ('a, 'b) Hashhe.t;
  2. yx : ('b, 'a) Hashhe.t;
}
val hashx : ('a, 'b) t -> ('a, 'b) Hashhe.t
val hashy : ('a, 'b) t -> ('b, 'a) Hashhe.t
val clear : ('a, 'b) t -> unit
val reset : ('a, 'b) t -> unit
val create : int -> ('a, 'b) t
val add : ('a, 'b) t -> 'a -> 'b -> unit
val y_of_x : ('a, 'b) t -> 'a -> 'b
val x_of_y : ('a, 'b) t -> 'b -> 'a
val removex : ('a, 'b) t -> 'a -> unit
val removey : ('a, 'b) t -> 'b -> unit
val memx : ('a, 'b) t -> 'a -> bool
val memy : ('a, 'b) t -> 'b -> bool
val iter : ('a, 'b) t -> ('a -> 'b -> unit) -> unit
val fold : ('a, 'b) t -> 'c -> ('a -> 'b -> 'c -> 'c) -> 'c
val cardinal : ('a, 'b) t -> int
val print : ?first:(unit, Format.formatter, unit) format -> ?sep:(unit, Format.formatter, unit) format -> ?last:(unit, Format.formatter, unit) format -> ?firstbind:(unit, Format.formatter, unit) format -> ?sepbind:(unit, Format.formatter, unit) format -> ?lastbind:(unit, Format.formatter, unit) format -> (Format.formatter -> 'a -> unit) -> (Format.formatter -> 'b -> unit) -> Format.formatter -> ('a, 'b) t -> unit
module type Param = sig ... end
module type S = sig ... end
module Make (P : Param) : sig ... end
OCaml

Innovation. Community. Security.