mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
psyntax simplification
* module/ice-9/psyntax.scm (id-var-name): Just rely on multiple-values truncation.
This commit is contained in:
parent
f3a9a51d3e
commit
b735d33b2b
1 changed files with 2 additions and 1 deletions
|
@ -770,7 +770,8 @@
|
|||
(lambda (id w)
|
||||
(define-syntax first
|
||||
(syntax-rules ()
|
||||
((_ e) (call-with-values (lambda () e) (lambda (x . ignore) x)))))
|
||||
;; Rely on Guile's multiple-values truncation.
|
||||
((_ e) e)))
|
||||
(define search
|
||||
(lambda (sym subst marks)
|
||||
(if (null? subst)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue