Add in-complex-layer?.
This commit is contained in:
parent
2a4a4e8184
commit
2a7254a324
|
@ -21,6 +21,9 @@
|
|||
(and (subtypeof? t -Real)
|
||||
(not (subtypeof? t -Rat))
|
||||
(not (subtypeof? t -Flonum))))
|
||||
(define (in-complex-layer? t)
|
||||
(and (subtypeof? t -Number)
|
||||
(not (subtypeof? t -Real))))
|
||||
|
||||
(define-syntax-class arith-expr
|
||||
(pattern (#%plain-app op:arith-op args ...)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user