> Try giving `eval` a namespace that includes `racket/base`:
> (define ns (make-base-namespace))
> (eval '(+ 1 2) ns)
p.s. If you don't supply the second, namespace argument to `eval`, it
defaults to `(current-namespace)` -- which by default is an empty
So, you can also change the value of the `current-namespace`
parameter, around one or more calls to `eval`:
(parameterize ([current-namespace (make-base-namespace)])
(eval '(+ 1 2))
(eval '(+ 1 41)))
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.