Avoid error with empty (begin) in some Schemes
This would happen when an unpack-case clause has no keys to unpack, only the list head.
This commit is contained in:
parent
ca936c029c
commit
32134a3614
|
@ -53,7 +53,7 @@
|
|||
(define-syntax unpack-using/set
|
||||
(syntax-rules ()
|
||||
((_ (sets ...))
|
||||
(begin sets ...))
|
||||
(begin sets ... #f))
|
||||
((_ (sets ...) rule rules ...)
|
||||
(unpack-using/set (sets ... (unpack-using/rule rule)) rules ...))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue