Class Memo.memo


class [['a, 'b]] memo : ?trace:bool -> ?size:int -> unit -> object .. end
The class storing the hash table

val current : ('a, 'b) Hashtbl.t
The state of the hash table.
val trace : bool
method get : ('a -> 'b) -> 'a -> 'b
Get the current encapsulated value a given input or call the function.