class [< .. >
] c :int -> object end
new Weak_memo.c size
create a new memo object with an original size
of size
.
method add : < .. > -> unit
Do nothing if the object is already there.
method clear : unit -> unit
method count : int
method find : 'a. (< .. > as 'a) -> (< .. > as 'b)
Raise Not_found
if there is none.
method mem : 'c. (< .. > as 'c) -> bool
method remove : 'd. (< .. > as 'd) -> unit
Do nothing otherwise.