mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
(cond) now expands to #f if no clause matches
This commit is contained in:
parent
83e0a6e662
commit
321995c914
2 changed files with 2 additions and 1 deletions
|
@ -9,4 +9,5 @@
|
|||
;(else #t)
|
||||
)
|
||||
;)
|
||||
1
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
(cons 'cond
|
||||
(lambda (expr rename compare)
|
||||
(if (null? (cdr expr))
|
||||
(if #f #f)
|
||||
#f ;(if #f #f)
|
||||
((lambda (cl)
|
||||
(if (compare (rename 'else) (car cl))
|
||||
(if (pair? (cddr expr))
|
||||
|
|
Loading…
Add table
Reference in a new issue