guide clarification on arguments to `eval'

Closes PR 12345
This commit is contained in:
Matthew Flatt 2011-11-26 16:49:05 -07:00
parent 8d44010725
commit 48d5d6fca3

View File

@ -13,12 +13,12 @@ time.
@section[#:tag "eval"]{@racket[eval]}
@margin-note{This example will not run properly in DrRacket's definitions window
but it will in the interactions window; read on for
why (specifically see the end of @secref["namespaces"]).}
@margin-note{This example will not work within a module or in DrRacket's definitions window,
but it will work in the interactions window, for reasons that are
explained by the end of @secref["namespaces"].}
The @racket[eval] function takes a ``quoted'' expression or definition
and evaluates it:
The @racket[eval] function takes a representation of an expression or definition
(as a ``quoted'' form or @tech{syntax object}) and evaluates it:
@interaction[
(eval '(+ 1 2))