stog

Static web site compiler, able to handle blog posts as well as regular pages or any XML document in general
IN THIS PACKAGE
Module Stog . Tmap
module type S = sig ... end

Storing data referenced by a unique id. Uses maps to store the information,

include S
type 'a key
type ('key, 'a) t
val create : 'a -> ( 'key, 'a ) t
val compare_key : 'a key -> 'a key -> int
val get : ( 'key, 'a ) t -> 'key key -> 'a
val add : ( 'key, 'a ) t -> 'a -> 'key key * ( 'key, 'a ) t
val fold : ( 'key key -> 'a -> 'b -> 'b ) -> ( 'key, 'a ) t -> 'b -> 'b
val find : ( 'key, 'a ) t -> ( 'a -> bool ) -> 'key key
val int : 'key key -> int
val iter : ( 'key key -> 'a -> unit ) -> ( 'key, 'a ) t -> unit
val remove : ( 'key, 'a ) t -> 'key key -> ( 'key, 'a ) t
val modify : ( 'key, 'a ) t -> 'key key -> 'a -> ( 'key, 'a ) t
val card : ( 'key, 'a ) t -> int