* Fixed two bugs in the ratnum case of mk< procs.
This commit is contained in:
parent
5f1b44106a
commit
83c7fe71b8
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -975,7 +975,7 @@
|
||||||
(if (flfl< x y)
|
(if (flfl< x y)
|
||||||
(flloopt y (car ls) (cdr ls))
|
(flloopt y (car ls) (cdr ls))
|
||||||
(loopf (car ls) (cdr ls))))]
|
(loopf (car ls) (cdr ls))))]
|
||||||
[(flonum? y)
|
[(ratnum? y)
|
||||||
(if (null? ls)
|
(if (null? ls)
|
||||||
(flrt< x y)
|
(flrt< x y)
|
||||||
(if (flrt< x y)
|
(if (flrt< x y)
|
||||||
|
@ -1003,7 +1003,7 @@
|
||||||
(if (rtfl< x y)
|
(if (rtfl< x y)
|
||||||
(flloopt y (car ls) (cdr ls))
|
(flloopt y (car ls) (cdr ls))
|
||||||
(loopf (car ls) (cdr ls))))]
|
(loopf (car ls) (cdr ls))))]
|
||||||
[(flonum? y)
|
[(ratnum? y)
|
||||||
(if (null? ls)
|
(if (null? ls)
|
||||||
(rtrt< x y)
|
(rtrt< x y)
|
||||||
(if (rtrt< x y)
|
(if (rtrt< x y)
|
||||||
|
@ -1014,7 +1014,9 @@
|
||||||
(lambda (x ls)
|
(lambda (x ls)
|
||||||
(cond
|
(cond
|
||||||
[(number? x)
|
[(number? x)
|
||||||
(or (null? ls) (loopf (car ls) (cdr ls)))]
|
(if (null? ls)
|
||||||
|
#f
|
||||||
|
(loopf (car ls) (cdr ls)))]
|
||||||
[else (err x)])))
|
[else (err x)])))
|
||||||
(define f
|
(define f
|
||||||
(case-lambda
|
(case-lambda
|
||||||
|
|
Loading…
Reference in New Issue