Cache_lib.Intfmodule Constant : sig ... endConstant.S is a helper signature for passing constant values * to functors.
module Registry : sig ... endA Registry module will receive events whenever items * are removed from the cache, whether by invalidation * or garbage collection
module Cached : sig ... endA ('t, 'cache_t) Cached.t is a representation of a value * stored in a cache, where 't is the type of the immediate * value currently being stored, and 'cache_t is the type * of the value stored in the underlying cache. A Cached.t has * semantics such that it can only be consumed once, and * will track and handle the case where it is garbage collected * before consumption. Cached.t values can be consumed either * by transforming the value into another Cached.t with a * different 't parameter, or by invalidating the Cached.t, * which removes it from the underlying cache.
module Cache : sig ... end* A 'a Cache.t is a Hashtbl.t baked cache abstraction which * registers ('a, 'a) Cached.t values.
module Transmuter : sig ... endA Transmuter module transmutes some source value into * some target value
module Transmuter_cache : sig ... endA Transmuter_cache module is a wrapper for a Cache * module, except that a Transmuter module provides a * layer of indirection to the values stored in the * Cache.t, transmuting values through the interface * to provide a more abstract interface.
module Main : sig ... endMain.S is the signature of the Cache_lib library.