fixed a bug where and/c (when given ho contracts) would check them in the wrong order

This commit is contained in:
Robby Findler 2010-08-08 11:24:28 -05:00
parent 02d9418f9a
commit d7503195df
2 changed files with 3 additions and 4 deletions

View File

@ -216,8 +216,7 @@
[(null? projs) proj]
[else (loop (cdr projs)
(let ([f (car projs)])
(λ (v) (proj (f v)))))]))))))
(λ (v) (f (proj v)))))]))))))
(define-struct and/c (ctcs)
#:omit-define-syntaxes

View File

@ -3220,8 +3220,8 @@
'pos
'neg)
1)
x)
(reverse '(1 3 4 2)))
(reverse x))
'(3 1 2 4))
;