Predicates for numeric comparisons.
This commit is contained in:
parent
5f5dca4c69
commit
e44e454b94
|
@ -66,8 +66,15 @@
|
|||
[= (->* (list N N) N B)]
|
||||
|
||||
[>= real-comp]
|
||||
[< real-comp]
|
||||
[<= real-comp]
|
||||
[< (cl->*
|
||||
(-> -Nat -Integer B : (-FS (-filter -Pos 1) -top))
|
||||
(-> -Integer -Nat B : (-FS -top (-filter -Nat 0)))
|
||||
(-> -Integer (-val 0) B : (-FS -top (-filter -Nat 0)))
|
||||
real-comp)]
|
||||
[<= (cl->*
|
||||
(-> -Nat -Integer B : (-FS (-filter -Nat 1) -top))
|
||||
(-> -Pos -Integer B : (-FS (-filter -Pos 1) -top))
|
||||
real-comp)]
|
||||
[> real-comp]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user