use the new call-in-sandbox-context
svn: r12671
This commit is contained in:
parent
e0917e1a5e
commit
4ee2883f8c
|
@ -651,6 +651,9 @@
|
|||
(define (procedure/arity? proc arity)
|
||||
(and (procedure? proc) (procedure-arity-includes? proc arity)))
|
||||
|
||||
(define (get-namespace evaluator)
|
||||
(call-in-sandbox-context evaluator (lambda () (current-namespace))))
|
||||
|
||||
(provide !defined)
|
||||
(define-syntax-rule (!defined id ...)
|
||||
;; expected to be used only with identifiers
|
||||
|
|
Loading…
Reference in New Issue
Block a user