mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-11 23:07:36 +02:00
Fix when macro to output all of body
This commit is contained in:
parent
c8537e0e12
commit
1f1e3f4d59
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@
|
|||
(if (null? (cdr exp)) (error "empty when" exp))
|
||||
(if (null? (cddr exp)) (error "no when body" exp))
|
||||
`(if ,(cadr exp)
|
||||
((lambda () ,(caddr exp)))
|
||||
((lambda () ,@(cddr exp)))
|
||||
#f)))
|
||||
(cons 'cond
|
||||
(lambda (expr rename compare)
|
||||
|
|
Loading…
Add table
Reference in a new issue