Stores
val create : Memo.t -> dir:B00_std.Fpath.t -> binding list -> tcreate memo ~dir bs is a store with predefined bindings bs. If a key is mentioned more than once in bs the last binding takes over. The store uses memo to determine other keys as needed. dir is a scratch directory used by key fibers to write memoized file outputs.
val dir : t -> B00_std.Fpath.tdir s is the scratch directory of s. Key fibers using this directory to write files should do so using nice file name prefixes (e.g. lowercased module or lib names) to avoid name clashes.
val key : ?mark:string -> (t -> Memo.t -> 'a Memo.fiber) -> 'a keykey ~mark det is a new key whose value is determined on access by the fiber:
det s (Memo.with_mark mark (Store.memo s))mark defaults to "".
val get : t -> 'a key -> 'a Memo.fiberget s k is the value bound to k in s.