grafts: Move caching to a new 'with-cache' macro.
authorLudovic Courtès <ludo@gnu.org>
Wed, 4 Jan 2017 09:43:08 +0000 (10:43 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 4 Jan 2017 15:18:52 +0000 (16:18 +0100)
commitd38bc9a9f6feefc465964531520fee5663a12f48
tree93e360b268421eb1ad9e4eb60569a3862ef9683d
parentddf2b503b1c1daab22af14a8c9eeff3ea89cdff7
grafts: Move caching to a new 'with-cache' macro.

* guix/grafts.scm (with-cache): New macro.
(cumulative-grafts)[return/cache]: Remove.
Use 'with-cache' instead.
guix/grafts.scm