From b1557982e3c09692e25dce11e9e70c63f62ac896 Mon Sep 17 00:00:00 2001 From: Stephen Chang Date: Thu, 24 Jul 2014 13:41:19 -0400 Subject: [PATCH] doc typos --- pkgs/racket-pkgs/racket-doc/scribblings/foreign/intro.scrbl | 2 +- .../racket-pkgs/racket-doc/scribblings/guide/namespaces.scrbl | 4 ++-- pkgs/racket-pkgs/racket-doc/scribblings/reference/evts.scrbl | 2 +- .../racket-doc/scribblings/reference/threads.scrbl | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/racket-pkgs/racket-doc/scribblings/foreign/intro.scrbl b/pkgs/racket-pkgs/racket-doc/scribblings/foreign/intro.scrbl index cbfb56f5e5..d41bc0ab8e 100644 --- a/pkgs/racket-pkgs/racket-doc/scribblings/foreign/intro.scrbl +++ b/pkgs/racket-pkgs/racket-doc/scribblings/foreign/intro.scrbl @@ -338,7 +338,7 @@ value from a raw pointer to a string: (cast buffer _pointer _string) ] -Conversion via the @racket[_string] type causes the data refereced by +Conversion via the @racket[_string] type causes the data referenced by the original pointer to be copied (and UTF-8 decoded), so the memory referenced by @racket[buffer] is no longer needed. Memory allocated with @racket[(malloc 'raw ...)] must be released with @racket[free]: diff --git a/pkgs/racket-pkgs/racket-doc/scribblings/guide/namespaces.scrbl b/pkgs/racket-pkgs/racket-doc/scribblings/guide/namespaces.scrbl index 8600906a9c..7dda7a4fcd 100644 --- a/pkgs/racket-pkgs/racket-doc/scribblings/guide/namespaces.scrbl +++ b/pkgs/racket-pkgs/racket-doc/scribblings/guide/namespaces.scrbl @@ -133,7 +133,7 @@ following interaction successfully accesses @racket[x] via (eval 'x) ] -In contrast, try the following a simple module and running in directly +In contrast, try the following simple module and running it directly in DrRacket or supplying the file as a command-line argument to @exec{racket}: @@ -193,7 +193,7 @@ so @racket[''m] is the quoted form of the path.} The @racket[module->namespace] function is mostly useful from outside a module, where the module's full name is known. Inside a @racket[module] form, however, the full name of a module may not be -known, because it may depend on where the module source is location +known, because it may depend on where the module source is located when it is eventually loaded. From within a @racket[module], use @racket[define-namespace-anchor] to diff --git a/pkgs/racket-pkgs/racket-doc/scribblings/reference/evts.scrbl b/pkgs/racket-pkgs/racket-doc/scribblings/reference/evts.scrbl index 8f09367cc5..0e810e41ef 100644 --- a/pkgs/racket-pkgs/racket-doc/scribblings/reference/evts.scrbl +++ b/pkgs/racket-pkgs/racket-doc/scribblings/reference/evts.scrbl @@ -150,7 +150,7 @@ Creates an event that is @tech{ready for synchronization} when @racket[evt] is @tech{ready for synchronization}, but whose @tech{synchronization result} is determined by applying @racket[wrap] to the @tech{synchronization result} of @racket[evt]. The number -of arguments accetped by @racket[wrap] must match the number of values +of arguments accepted by @racket[wrap] must match the number of values for the synchronization result of @racket[evt]. The call to @racket[wrap] is diff --git a/pkgs/racket-pkgs/racket-doc/scribblings/reference/threads.scrbl b/pkgs/racket-pkgs/racket-doc/scribblings/reference/threads.scrbl index 1a85d8961a..d883501ac3 100644 --- a/pkgs/racket-pkgs/racket-doc/scribblings/reference/threads.scrbl +++ b/pkgs/racket-pkgs/racket-doc/scribblings/reference/threads.scrbl @@ -62,7 +62,7 @@ thread created to invoke @racket[thunk] terminates. @defproc[(current-thread) thread?]{Returns the @tech{thread descriptor} for the currently executing thread.} -@defproc[(thread/suspend-to-kill [thunk (-> any)]) thread]{ +@defproc[(thread/suspend-to-kill [thunk (-> any)]) thread?]{ Like @racket[thread], except that ``killing'' the thread through @racket[kill-thread] or @racket[custodian-shutdown-all] merely