Expose memoization cache and original as metadata on memoized functions.

Description

The attached patch exposes the memoization cache and original pre-memoized value as metadata on memoized functions.

The metadata keys are ::memoize-cache and :rememoized respectively, to which I'm not too attached.

Environment

None

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

Code

Priority

Trivial
Configure