sig
type key
type 'a t
val empty : unit -> 'a CCPersistentHashtbl.S.t
val create : int -> 'a CCPersistentHashtbl.S.t
val is_empty : 'a CCPersistentHashtbl.S.t -> bool
val find : 'a CCPersistentHashtbl.S.t -> CCPersistentHashtbl.S.key -> 'a
val get_exn : CCPersistentHashtbl.S.key -> 'a CCPersistentHashtbl.S.t -> 'a
val get :
CCPersistentHashtbl.S.key -> 'a CCPersistentHashtbl.S.t -> 'a option
val mem : 'a CCPersistentHashtbl.S.t -> CCPersistentHashtbl.S.key -> bool
val length : 'a CCPersistentHashtbl.S.t -> int
val add :
'a CCPersistentHashtbl.S.t ->
CCPersistentHashtbl.S.key -> 'a -> 'a CCPersistentHashtbl.S.t
val replace :
'a CCPersistentHashtbl.S.t ->
CCPersistentHashtbl.S.key -> 'a -> 'a CCPersistentHashtbl.S.t
val update :
'a CCPersistentHashtbl.S.t ->
CCPersistentHashtbl.S.key ->
('a option -> 'a option) -> 'a CCPersistentHashtbl.S.t
val remove :
'a CCPersistentHashtbl.S.t ->
CCPersistentHashtbl.S.key -> 'a CCPersistentHashtbl.S.t
val copy : 'a CCPersistentHashtbl.S.t -> 'a CCPersistentHashtbl.S.t
val merge :
f:(CCPersistentHashtbl.S.key ->
[ `Both of 'a * 'b | `Left of 'a | `Right of 'b ] -> 'c option) ->
'a CCPersistentHashtbl.S.t ->
'b CCPersistentHashtbl.S.t -> 'c CCPersistentHashtbl.S.t
val iter :
'a CCPersistentHashtbl.S.t ->
(CCPersistentHashtbl.S.key -> 'a -> unit) -> unit
val fold :
('b -> CCPersistentHashtbl.S.key -> 'a -> 'b) ->
'b -> 'a CCPersistentHashtbl.S.t -> 'b
val map :
(CCPersistentHashtbl.S.key -> 'a -> 'b) ->
'a CCPersistentHashtbl.S.t -> 'b CCPersistentHashtbl.S.t
val filter :
(CCPersistentHashtbl.S.key -> 'a -> bool) ->
'a CCPersistentHashtbl.S.t -> 'a CCPersistentHashtbl.S.t
val filter_map :
(CCPersistentHashtbl.S.key -> 'a -> 'b option) ->
'a CCPersistentHashtbl.S.t -> 'b CCPersistentHashtbl.S.t
val for_all :
(CCPersistentHashtbl.S.key -> 'a -> bool) ->
'a CCPersistentHashtbl.S.t -> bool
val exists :
(CCPersistentHashtbl.S.key -> 'a -> bool) ->
'a CCPersistentHashtbl.S.t -> bool
val of_seq :
(CCPersistentHashtbl.S.key * 'a) CCPersistentHashtbl.sequence ->
'a CCPersistentHashtbl.S.t
val of_list :
(CCPersistentHashtbl.S.key * 'a) list -> 'a CCPersistentHashtbl.S.t
val add_seq :
'a CCPersistentHashtbl.S.t ->
(CCPersistentHashtbl.S.key * 'a) CCPersistentHashtbl.sequence ->
'a CCPersistentHashtbl.S.t
val add_list :
'a CCPersistentHashtbl.S.t ->
(CCPersistentHashtbl.S.key * 'a) list -> 'a CCPersistentHashtbl.S.t
val to_seq :
'a CCPersistentHashtbl.S.t ->
(CCPersistentHashtbl.S.key * 'a) CCPersistentHashtbl.sequence
val to_list :
'a CCPersistentHashtbl.S.t -> (CCPersistentHashtbl.S.key * 'a) list
val equal :
'a CCPersistentHashtbl.equal ->
'a CCPersistentHashtbl.S.t CCPersistentHashtbl.equal
val pp :
?sep:string ->
?arrow:string ->
CCPersistentHashtbl.S.key CCPersistentHashtbl.printer ->
'a CCPersistentHashtbl.printer ->
'a CCPersistentHashtbl.S.t CCPersistentHashtbl.printer
val stats : 'a CCPersistentHashtbl.S.t -> Hashtbl.statistics
end