doc typos

This commit is contained in:
Stephen Chang 2014-07-24 13:41:19 -04:00
parent 858ff7c67a
commit b1557982e3
4 changed files with 5 additions and 5 deletions

View File

@ -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]:

View File

@ -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

View File

@ -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

View File

@ -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