Documentation for package rsm.memo

Author : R. Scott McIntire

Version: 1.0

Overview:

Provide function memoizers and function memo-caching functions of a single
input.

Function summary:
defmemo : A macro that will define a memoized function.
defcache: A macro that will define a memoized function with a storage limit.



defcache (fn (arg) body &key cache-size test)

Define a function of one arg which will memoize the last
<cache-size> values. <arg> is stored in a hash table using test <test>.

defmemo (fn (arg) body &key test)

Define a function of one arg which memoizes its values. <arg> is stored 
in a hash table using test <test>.