File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 878
878
(add1 x)))
879
879
' (lambda (x) (when (flonum? x)
880
880
(#3 %fl+ x 1.0 ))))
881
+ (cptypes- equivalent- expansion?
882
+ ' (lambda (x) (when (fixnum? x)
883
+ (let ([y (sub1 x)])
884
+ (and (integer? y) (exact? y)))))
885
+ ' (lambda (x) (when (fixnum? x)
886
+ (let ([y (sub1 x)])
887
+ #t ))))
888
+ (cptypes- equivalent- expansion?
889
+ ' (lambda (x) (when (real? x)
890
+ (real? (sub1 x))))
891
+ ' (lambda (x) (when (real? x)
892
+ #t )))
893
+ (cptypes- equivalent- expansion?
894
+ ' (lambda (x) (when (flonum? x)
895
+ (flonum? (sub1 x))))
896
+ ' (lambda (x) (when (flonum? x)
897
+ #t )))
881
898
(cptypes- equivalent- expansion?
882
899
' (lambda (x) (when (flonum? x)
883
900
(sub1 x)))
884
901
' (lambda (x) (when (flonum? x)
885
902
(#3 %fl- x 1.0 ))))
903
+ (cptypes- equivalent- expansion?
904
+ ' (lambda (x) (when (fixnum? x)
905
+ (let ([y (abs x)])
906
+ (and (integer? y) (exact? y)))))
907
+ ' (lambda (x) (when (fixnum? x)
908
+ (let ([y (abs x)])
909
+ #t ))))
886
910
(cptypes- equivalent- expansion?
887
911
' (lambda (x) (when (real? x)
888
912
(real? (abs x))))
889
913
' (lambda (x) (when (real? x)
890
914
#t )))
915
+ (cptypes- equivalent- expansion?
916
+ ' (lambda (x) (when (flonum? x)
917
+ (flonum? (abs x))))
918
+ ' (lambda (x) (when (flonum? x)
919
+ #t )))
891
920
)
892
921
893
922
(mat cptypes- rest- argument
You can’t perform that action at this time.
0 commit comments