summary refs log tree commit diff
path: root/gnu/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-09-03 23:29:11 +0200
committerLudovic Courtès <ludo@gnu.org>2017-09-03 23:36:17 +0200
commite3c83a7cd3618a87d74e58973dcd82e560e2da97 (patch)
treec0e3aaa4db8c59eba64f045478ed08be8cfa17ab /gnu/tests
parent43637673944226412a27967c235046546d7771ed (diff)
downloadguix-e3c83a7cd3618a87d74e58973dcd82e560e2da97.tar.gz
memoization: (mlambda () ...) allows for inner 'define'.
Previously (mlambda () (define foo 2) bar) would trigger a syntax error.

* guix/memoization.scm (%mlambda): In the zero-argument case, move
BODY... to a lambda to allow for inner 'define' and such.
Diffstat (limited to 'gnu/tests')
0 files changed, 0 insertions, 0 deletions