>From 04bf9ef961ff83a15a72935f74554899a0d5d54c Mon Sep 17 00:00:00 2001 From: Eric Hanchrow <eric.hanch...@gmail.com> Date: Sun, 30 May 2010 00:57:02 -0700 Subject: [PATCH] Fix some typos
--- collects/scribblings/guide/namespaces.scrbl | 4 ++-- collects/scribblings/guide/simple-syntax.scrbl | 2 +- collects/scribblings/guide/vectors.scrbl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/collects/scribblings/guide/namespaces.scrbl b/collects/scribblings/guide/namespaces.scrbl index 17da051..09fc9dd 100644 --- a/collects/scribblings/guide/namespaces.scrbl +++ b/collects/scribblings/guide/namespaces.scrbl @@ -125,7 +125,7 @@ argument. More often, the namespace used by a dynamic operation is the @margin-note{See @secref["parameterize"] for an introduction to parameters.} -When @racket[eval] is used in a @tech{REPL}, the current is the one +When @racket[eval] is used in a @tech{REPL}, the current namespace is the one that the @tech{REPL} uses for evaluating expressions. That's why the following interaction successfully accesses @racket[x] via @racket[eval]: @@ -178,7 +178,7 @@ way to reflect a module into a @tech{namespace}. The @racket[module->namespace] function takes a quoted @tech{module path} and produces a namespace for evaluating expressions and -definitions as if they appears in the @racket[module] body: +definitions as if they appeared in the @racket[module] body: @interaction[ (module m racket/base diff --git a/collects/scribblings/guide/simple-syntax.scrbl b/collects/scribblings/guide/simple-syntax.scrbl index 085f5ef..785bd23 100644 --- a/collects/scribblings/guide/simple-syntax.scrbl +++ b/collects/scribblings/guide/simple-syntax.scrbl @@ -117,7 +117,7 @@ Racket programmers prefer to avoid side-effects, so a definition usually has just one expression in its body. It's important, though, to understand that multiple expressions are allowed in a definition body, because it explains why the following -...@racket[nobake] function simply returns its argument: +...@racket[nobake] function fails to return its argument: @def+int[ #:eval ex-eval diff --git a/collects/scribblings/guide/vectors.scrbl b/collects/scribblings/guide/vectors.scrbl index 738ffa9..7a72ce8 100644 --- a/collects/scribblings/guide/vectors.scrbl +++ b/collects/scribblings/guide/vectors.scrbl @@ -11,7 +11,7 @@ update of its elements. A vector prints similar to a list---as a parenthesized sequence of its elements---but a vector is prefixed with @litchar{#} after -...@litchar{'}, or it uses @schemeresult[vector] of one of its elements +...@litchar{'}, or it uses @schemeresult[vector] if one of its elements cannot be expressed with @racket[quote]. For a vector as an expression, an optional length can be @@ -35,7 +35,7 @@ Vector can be converted to lists and vice versa via @racket[list->vector] and @racket[vector->list]; such conversions are particularly useful in combination with predefined procedures on lists. When allocating extra lists seems too expensive, consider -using looping forms like @racket[fold-for], which recognize vectors as +using looping forms like @racket[for/fold], which recognize vectors as well as lists. @examples[ -- 1.7.0.4 _________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev