mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 14:07:34 +02:00
fixing bug in cond with => patterns
This commit is contained in:
parent
ca9e391ee3
commit
78de2d1394
1 changed files with 2 additions and 1 deletions
3
init.scm
3
init.scm
|
@ -157,7 +157,8 @@
|
|||
(list (rename 'if) (rename 'tmp)
|
||||
(if (null? (cdr cl))
|
||||
(rename 'tmp)
|
||||
(list (caddr cl) (rename 'tmp)))))
|
||||
(list (caddr cl) (rename 'tmp)))
|
||||
(cons (rename 'cond) (cddr expr))))
|
||||
(list (rename 'if)
|
||||
(car cl)
|
||||
(cons (rename 'begin) (cdr cl))
|
||||
|
|
Loading…
Add table
Reference in a new issue