package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b) t
val empty : cmp:('a -> 'a -> int) -> ('a, 'b) t
val is_empty : ('a, 'b) t -> bool
val insert : ('a, 'b) t -> 'a -> 'b -> ('a, 'b) t
val remove : ('a, 'b) t -> 'a -> ('a, 'b) t
val replace : ('a, 'b) t -> 'a -> 'b -> ('a, 'b) t
val top : ('a, 'b) t -> 'a * 'b
val min : ('a, 'b) t -> 'a * 'b
val delete_min : ('a, 'b) t -> 'a * 'b * ('a, 'b) t
val find : ('a, 'b) t -> 'a -> 'b * ('a, 'b) t
val find_fold : ('a, 'b) t -> 'a -> ('c -> 'b -> 'c) -> 'c -> 'c
val iter : ('a, 'b) t -> ('a -> 'b -> unit) -> unit
val size : ('a, 'b) t -> int
val get_cmp : ('a, 'b) t -> 'a -> 'a -> int
OCaml

Innovation. Community. Security.