package GuaCaml

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

Parameters

module Ord : Stdlib.Map.OrderedType

Signature

type key = Ord.t
type 'v t
val empty : unit -> 'v t
val length : 'v t -> int
val is_empty : 'v t -> bool
val add : 'v t -> key -> 'v -> unit
val first : 'v t -> key * 'v
val remove_first : 'v t -> unit
val pull_first : 'v t -> key * 'v
val pull_first_opt : 'v t -> (key * 'v) option
val pull_firsts : 'v t -> key * 'v list
val clear : 'v t -> unit
val shrink : 'v t -> key -> unit
val to_stree : (key -> Tree.stree) -> ('v -> Tree.stree) -> 'v t -> Tree.stree
val of_stree : (Tree.stree -> key) -> (Tree.stree -> 'v) -> Tree.stree -> 'v t
val iter : (key -> 'a -> unit) -> 'a t -> unit