TYPE-0
This commit is contained in:
parent
3fd88e2daf
commit
7da59c79a0
|
@ -77,10 +77,10 @@
|
||||||
(eq? (core:type x) <cell:port>))
|
(eq? (core:type x) <cell:port>))
|
||||||
|
|
||||||
(define (procedure? p)
|
(define (procedure? p)
|
||||||
(cond ((builtin? p) #t)
|
(and (or (builtin? p)
|
||||||
((and (pair? p) (eq? (car p) 'lambda)))
|
(and (pair? p) (eq? (car p) 'lambda))
|
||||||
((closure? p) #t)
|
(closure? p))
|
||||||
(#t #f)))
|
#t))
|
||||||
|
|
||||||
(define (special? x)
|
(define (special? x)
|
||||||
(eq? (core:type x) <cell:special>))
|
(eq? (core:type x) <cell:special>))
|
||||||
|
|
Loading…
Reference in New Issue