MoreLabels.Hashtbl

Section: OCaml library (3)
Updated: 2009-07-27
Index Return to Main Contents
 

NAME

MoreLabels.Hashtbl - no description  

Module

Module MoreLabels.Hashtbl  

Documentation

Module Hashtbl
 :  sig end

type ('a, 'b) t = ('a, 'b) Hashtbl.t

val create : int -> ('a, 'b) t

val clear : ('a, 'b) t -> unit

val add : ('a, 'b) t -> key:'a -> data:'b -> unit

val copy : ('a, 'b) t -> ('a, 'b) t

val find : ('a, 'b) t -> 'a -> 'b

val find_all : ('a, 'b) t -> 'a -> 'b list

val mem : ('a, 'b) t -> 'a -> bool

val remove : ('a, 'b) t -> 'a -> unit

val replace : ('a, 'b) t -> key:'a -> data:'b -> unit

val iter : f:(key:'a -> data:'b -> unit) -> ('a, 'b) t -> unit

val fold : f:(key:'a -> data:'b -> 'c -> 'c) -> ('a, 'b) t -> init:'c -> 'c

val length : ('a, 'b) t -> int

module type HashedType = Hashtbl.HashedType

module type S = sig end

module Make : functor (H : HashedType) -> sig end

val hash : 'a -> int

val hash_param : int -> int -> 'a -> int