Stog library reference documentation : Stog_graph.GMap

Module type Stog_graph.GMap

module type GMap = sig .. end

type key 
type 'a t 
val create : unit -> 'a t
val get : 'a t -> key -> 'a
val set : 'a t -> key -> 'a -> 'a t
val remove : 'a t -> key -> 'a t
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val iter : (key -> 'a -> unit) -> 'a t -> unit