mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 04:40:29 +02:00
*** empty log message ***
This commit is contained in:
parent
75b55db5f8
commit
662925356a
5 changed files with 31 additions and 16 deletions
|
@ -93,6 +93,17 @@
|
|||
(@begin ,@(map translate body)
|
||||
(_loop ,@(map translate update)))))))
|
||||
(_loop ,@(map translate init))))))
|
||||
|
||||
((eval-case)
|
||||
`(@eval-case
|
||||
,@(let loop ((x rest))
|
||||
(match x
|
||||
(() '(()))
|
||||
((('else . body)) `((@else ,@(map translate body))))
|
||||
(((keys . body) . rest)
|
||||
`((,keys ,@(map translate body)) ,@(loop rest)))
|
||||
(else (error "bad eval-case" x))))))
|
||||
|
||||
(else
|
||||
(let ((e (expand x)))
|
||||
(if (eq? e x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue