guide clarification on arguments to `eval'
Closes PR 12345
This commit is contained in:
parent
8d44010725
commit
48d5d6fca3
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user