Add in-complex-layer?.
original commit: 2a7254a324e6ec68982d3966df04e8c264d89bca
This commit is contained in:
parent
292433204b
commit
d64af4df5d
|
@ -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