diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-12-08 07:16:00 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-12-08 07:16:00 -0800 |
commit | 1e4eadfd30f675f80e17e84682dfc88da6be9681 (patch) | |
tree | a1bc89f27d7d4c748f4189f974a95a59f1f933ce /configure | |
parent | a621bb39d04e1f77fc45c24a3ac3fc08291533fa (diff) | |
download | txr-1e4eadfd30f675f80e17e84682dfc88da6be9681.tar.gz txr-1e4eadfd30f675f80e17e84682dfc88da6be9681.tar.bz2 txr-1e4eadfd30f675f80e17e84682dfc88da6be9681.zip |
each-match macro family: missing anon block.
* txr.1: Adding the missing requirement that each-match
and the other macros in that family must have an implicit
anonymous block around the body forms. This is a requirements
bug, effectively: the programmer expects these operators to be
consistent with the each operator, as part of the same family.
* match.tl (each-match-expander): Implement the requirement.
Since we are using mapping functions, we must use temporary
variables: the evaluation of the expressions which produce the
sequence argument values to the mapping functions must be
outside of the anonymous block. The block must surround only
the function call.
* tests/011/patmatch.tl: Add small test case covering this.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions