memoization: Add 'invalidate-memoization!.
authorLudovic Courtès <ludo@gnu.org>
Wed, 13 Dec 2017 13:59:48 +0000 (14:59 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 13 Dec 2017 22:11:53 +0000 (23:11 +0100)
commitd1f01e48457f8cac9e64fb9f890332d5d93f430e
treeb819406500ff056fb5e4af81a5a8d3fe30d7cba7
parent90354e34e386b21451e0b6dab87ff5d9e81a94ae
memoization: Add 'invalidate-memoization!.

* guix/memoization.scm (%make-hash-table*): When not profiling, add the
new table to %MEMOIZATION-TABLES.
(invalidate-memoization!): New procedure.
guix/memoization.scm