Fixes Guide typos
This commit is contained in:
parent
7edfa58ef1
commit
02c7680076
|
@ -27,7 +27,7 @@ and evaluates it:
|
||||||
(eval '(+ 1 2))
|
(eval '(+ 1 2))
|
||||||
]
|
]
|
||||||
|
|
||||||
The power of @racket[eval] that is that an expression can be
|
The power of @racket[eval] is that an expression can be
|
||||||
constructed dynamically:
|
constructed dynamically:
|
||||||
|
|
||||||
@interaction[
|
@interaction[
|
||||||
|
@ -52,7 +52,7 @@ direct approach is to use first-class functions:
|
||||||
|
|
||||||
However, if expressions like @racket[(+ x y)] and @racket[(+ (* x y)
|
However, if expressions like @racket[(+ x y)] and @racket[(+ (* x y)
|
||||||
y)] are read from a file supplied by a user, for example, then
|
y)] are read from a file supplied by a user, for example, then
|
||||||
@racket[eval] might be appropriate. Simialrly, the @tech{REPL} reads
|
@racket[eval] might be appropriate. Similarly, the @tech{REPL} reads
|
||||||
expressions that are typed by a user and uses @racket[eval] to
|
expressions that are typed by a user and uses @racket[eval] to
|
||||||
evaluate them.
|
evaluate them.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user