package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module E : PARTIAL_ORD

Signature

type elt = E.t
type t
val empty : t
val is_empty : t -> bool
exception Empty
val merge : t -> t -> t
val insert : elt -> t -> t
val add : t -> elt -> t
val filter : (elt -> bool) -> t -> t
val find_min : t -> elt option
val find_min_exn : t -> elt
val take : t -> (t * elt) option
val take_exn : t -> t * elt
val iter : (elt -> unit) -> t -> unit
val fold : ('a -> elt -> 'a) -> 'a -> t -> 'a
val size : t -> int
val to_list : t -> elt list
val of_list : elt list -> t
val of_seq : t -> elt sequence -> t
val to_seq : t -> elt sequence
val of_klist : t -> elt klist -> t
val to_klist : t -> elt klist
val of_gen : t -> elt gen -> t
val to_gen : t -> elt gen
val to_tree : t -> elt ktree
OCaml

Innovation. Community. Security.