Add procedure? to base.
* base.mes (procedure?): Move from scm.mes.
This commit is contained in:
parent
1bb3d1de11
commit
dd271be218
6
base.mes
6
base.mes
|
@ -67,3 +67,9 @@
|
|||
|
||||
(define-macro (let bindings . rest)
|
||||
(cons* 'simple-let bindings rest))
|
||||
|
||||
(define (procedure? p)
|
||||
(cond ((builtin? p) #t)
|
||||
((and (pair? p) (eq? (car p) 'lambda)))
|
||||
((and (pair? p) (eq? (car p) '*closure*)))
|
||||
(#t #f)))
|
||||
|
|
Loading…
Reference in a new issue