fix contract-stronger bug
This commit is contained in:
parent
f231cb2003
commit
76c404dffc
|
@ -57,7 +57,7 @@
|
|||
(ctest #f contract-stronger? (>/c 2) (>/c 3))
|
||||
(ctest #f contract-stronger? (</c 3) (</c 2))
|
||||
(ctest #t contract-stronger? (</c 2) (</c 3))
|
||||
(ctest #t contract-stronger? (</c 2) (>/c 2))
|
||||
(ctest #f contract-stronger? (</c 2) (>/c 2))
|
||||
(ctest #t contract-stronger? (</c 2) (<=/c 2))
|
||||
(ctest #f contract-stronger? (</c 2) (>=/c 2))
|
||||
(ctest #f contract-stronger? (>/c 2) (<=/c 2))
|
||||
|
|
|
@ -263,7 +263,8 @@
|
|||
[(and (<-ctc? this) (<-ctc? that))
|
||||
(<= this-x (</>-ctc-x that))]
|
||||
[(and (>-ctc? this) (>-ctc? that))
|
||||
(>= this-x (</>-ctc-x that))])]
|
||||
(>= this-x (</>-ctc-x that))]
|
||||
[else #f])]
|
||||
[(between/c-s? that)
|
||||
(cond
|
||||
[(<-ctc? this)
|
||||
|
|
Loading…
Reference in New Issue
Block a user