mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-13 17:20:21 +02:00
don't require users of users of optargs to have used optargs
* ice-9/optargs.scm: Do the compile-friendly equivalent of unquoting in a value into the macro: use @@.
This commit is contained in:
parent
fd3585753a
commit
3b573ef4a5
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@
|
|||
=> cdr)
|
||||
(else
|
||||
,(cadr key)))))))
|
||||
`(let ((,kb-list-gensym (rest-arg->keyword-binding-list
|
||||
`(let ((,kb-list-gensym ((@@ (ice-9 optargs) rest-arg->keyword-binding-list)
|
||||
,REST-ARG ',(map (lambda (x) (symbol->keyword (if (pair? x) (car x) x)))
|
||||
BINDINGS)
|
||||
,ALLOW-OTHER-KEYS?)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue