module type S =The output signature of the functorsig..end
Hashtbl.Make.
The output signature of the functor Hashtbl.Make.
type key
type 'a t
val create : int -> 'a tval length : 'a t -> intval is_empty : 'a t -> boolval clear : 'a t -> unitval copy : 'a t -> 'a tval add : 'a t ->
key -> 'a -> unitval remove : 'a t -> key -> unitval remove_all : 'a t -> key -> unitval find : 'a t -> key -> 'aval find_all : 'a t ->
key -> 'a listval find_default : 'a t ->
key -> 'a -> 'aval find_option : 'a t ->
key -> 'a optionval replace : 'a t ->
key -> 'a -> unitval mem : 'a t -> key -> boolval iter : (key -> 'a -> unit) ->
'a t -> unitval fold : (key -> 'a -> 'b -> 'b) ->
'a t -> 'b -> 'bval map : (key -> 'a -> 'b) ->
'a t -> 'b tval filter : ('a -> bool) ->
'a t -> 'a tval filteri : (key -> 'a -> bool) ->
'a t -> 'a tval filter_map : (key -> 'a -> 'b option) ->
'a t -> 'b tval keys : 'a t ->
key Enum.tval values : 'a t -> 'a Enum.tval enum : 'a t ->
(key * 'a) Enum.tval of_enum : (key * 'a) Enum.t ->
'a tval sexp_of_t : (key -> Sexplib.Sexp.t) ->
('a -> Sexplib.Sexp.t) -> 'a t -> Sexplib.Sexp.tval t_of_sexp : (Sexplib.Sexp.t -> key) ->
(Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a tval print : ?first:string ->
?last:string ->
?sep:string ->
('a Extlib.InnerIO.output -> key -> unit) ->
('a Extlib.InnerIO.output -> 'b -> unit) ->
'a Extlib.InnerIO.output -> 'b t -> unitHashtbl with functions
behaving slightly differently but having the same name. This is by design:
the functions meant to override the corresponding functions of Hashtbl.
To take advantage of these overrides, you probably want to
or . For instance, to open a version of Hashtbl
with exceptionless error management, you may write open Hashtbl,
Exceptionless. To locally replace module Hashtbl with a module of
the same name but with exceptionless error management, you may
write
module Hashtbl = Hashtbl include Exceptionless.
module Hashtbl.S.Exceptionless:sig..end
Hashtbl without exceptions.
module Hashtbl.S.Labels:sig..end
Hashtbl with labels.