no need for promise defaults

svn: r1113
This commit is contained in:
Eli Barzilay 2005-10-20 21:56:47 +00:00
parent 9aafd3a272
commit fd7a56fb36

View File

@ -348,9 +348,7 @@
(cond [(or (null? args) (null? (cdr args)) (not (keyword? (car args))))
(and (pair? not-found)
(let ([x (car not-found)])
(cond [(procedure? x) (x)]
[(promise? x) (force x)]
[else x])))]
(if (procedure? x) (x) x)))]
[(eq? (car args) keyword) (cadr args)]
[else (loop (cddr args))])))