diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-02-04 01:43:20 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-02-04 01:43:20 -0800 |
commit | 8132c60cdb613e27eb2b8e58b8d1ea9ae01a615c (patch) | |
tree | 62d32a6245964cb20ed4febfa743afd3862c4b3e /tests/018/chmod.tl | |
parent | 8bc0ac3a54d248ba2d4a8a045dc2bc0619a60886 (diff) | |
download | txr-8132c60cdb613e27eb2b8e58b8d1ea9ae01a615c.tar.gz txr-8132c60cdb613e27eb2b8e58b8d1ea9ae01a615c.tar.bz2 txr-8132c60cdb613e27eb2b8e58b8d1ea9ae01a615c.zip |
matcher: lambda-match: redoc, bugfix, test-cases
* share/txr/stdlib/match.tl (expand-lambda-match): In a case
that takes the maximum number of fixed args and no dotted
pattern, in a function that is variadic, we must assert that
the rest parameter is nil: there are no additional arguments.
In the lambda args, we must generate the colon that separates
the optional arguments.
* tests/011/patmatch.tl: basic test cases for lambda-match
and defun-match.
* txr.1: lambda-match and defun-match redocumented, with
examples.
Diffstat (limited to 'tests/018/chmod.tl')
0 files changed, 0 insertions, 0 deletions