Module type Graph__Blocks.TBL_BUILDER
Parameters
Signature
type 'a return
type 'a t
type key
= X.t
val create : ?size:int -> unit -> 'a t
val create_from : 'a t -> 'a t
val empty : 'a return
val clear : 'a t -> unit
val is_empty : 'a t -> bool
val add : key -> 'a -> 'a t -> 'a t
val remove : key -> 'a t -> 'a t
val mem : key -> 'a t -> bool
val find : key -> 'a t -> 'a
val find_and_raise : key -> 'a t -> string -> 'a
find_and_raise k t s
is equivalent tofind k t
but raisesInvalid_argument s
whenfind k t
raisesNot_found