eval-with: Explicitly say that the evaluation happens in a fresh namespace.

This commit is contained in:
Sergiu Ivanov 2020-02-19 22:51:49 +01:00
parent 404362a91c
commit bdff8e31c9

View file

@ -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)))