eval-with: Explicitly say that the evaluation happens in a fresh namespace.
This commit is contained in:
parent
404362a91c
commit
bdff8e31c9
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@
|
||||||
x))))
|
x))))
|
||||||
|
|
||||||
;;; Temporarily injects the mappings from the given hash table as
|
;;; Temporarily injects the mappings from the given hash table as
|
||||||
;;; bindings in the current namespace and then evaluates the
|
;;; bindings in a namespace including racket/base and then evaluates
|
||||||
;;; expression.
|
;;; the expression.
|
||||||
;;;
|
;;;
|
||||||
;;; > (let ([ht #hash((a . 1) (b . 1))])
|
;;; > (let ([ht #hash((a . 1) (b . 1))])
|
||||||
;;; (eval-with ht '(+ b a 1)))
|
;;; (eval-with ht '(+ b a 1)))
|
||||||
|
|
Loading…
Reference in a new issue