remove redundunt code
This commit is contained in:
parent
d8ed0b384c
commit
1352735f3d
|
@ -225,17 +225,9 @@
|
|||
(values
|
||||
`(,_quasiquote (,@(reverse expands) . (,_unquote ,expand1)))
|
||||
(append vars vars1))))
|
||||
;; (hoge . poyo)
|
||||
((not (pair? (cdr template)))
|
||||
(let*-values (((expand1 vars1)
|
||||
(compile-expand-base (car template) ellipsis-valid))
|
||||
((expand2 vars2)
|
||||
(compile-expand-base (cdr template) ellipsis-valid)))
|
||||
(values
|
||||
`(,_quasiquote (,@(reverse expands) (,_unquote ,expand1) . (,_unquote ,expand2)))
|
||||
(append (append vars vars1) vars2))))
|
||||
;; (a ... rest syms)
|
||||
((and ellipsis-valid
|
||||
(pair? (cdr template))
|
||||
(eq? (cadr template) ellipsis))
|
||||
(let-values (((expand1 vars1)
|
||||
(compile-expand-base (car template) ellipsis-valid)))
|
||||
|
|
Loading…
Reference in New Issue