Reference: fix doc typos
This commit is contained in:
parent
e8dfd1d8df
commit
414ed2597e
|
@ -381,7 +381,7 @@ Returns an impersonator of @racket[key], which redirects
|
|||
@racket[with-continuation-mark] and continuation mark accessors such
|
||||
as @racket[continuation-mark-set->list].
|
||||
|
||||
The @racket[get-proc] must accept the the value attached to a
|
||||
The @racket[get-proc] must accept the value attached to a
|
||||
continuation mark and it must produce a replacement
|
||||
value, which will be returned by the continuation mark accessor.
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ A @racket[_rel-string] in @racket[(lib _rel-string)] consists of one
|
|||
or more path elements that name collections, and then a final path
|
||||
element that names a library file; the path elements are separated by
|
||||
@litchar{/}. If @racket[_rel-string] contains no @litchar{/}s, then
|
||||
then @litchar{/main.rkt} is implicitly appended to the path. If
|
||||
@litchar{/main.rkt} is implicitly appended to the path. If
|
||||
@racket[_rel-string] contains @litchar{/} but does not end with a file
|
||||
suffix, then @litchar{.rkt} is implicitly appended to the path.
|
||||
|
||||
|
|
|
@ -595,7 +595,7 @@ within modules. For example, @racket[define] within @racket[begin-for-syntax] cr
|
|||
@tech{phase} 1 variable. Furthermore, reflective operations like
|
||||
@racket[make-base-namespace] and @racket[eval] provide access to
|
||||
top-level variables in higher @tech{phases}, while module
|
||||
@tech{instantiations} (triggered by with @racket[require]) relative to such
|
||||
@tech{instantiations} (triggered by @racket[require]) relative to such
|
||||
top-levels are in corresponding higher @tech{phase}s.
|
||||
|
||||
@;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -409,7 +409,7 @@ The default @tech{print handler} @racket[print]s the value to the
|
|||
|
||||
A parameter that determines the current @deftech{compilation handler}.
|
||||
The @tech{compilation handler} is a procedure that takes a top-level form and
|
||||
returns a compiled form; see see @secref["compilation-model"] for
|
||||
returns a compiled form; see @secref["compilation-model"] for
|
||||
more information on compilation.
|
||||
|
||||
The @tech{compilation handler} is called by @racket[compile], and
|
||||
|
|
|
@ -107,7 +107,7 @@ See also @racket[some-system-path->string].}
|
|||
|
||||
Produces @racket[path]'s byte string representation. No information is
|
||||
lost in this translation, so that @racket[(bytes->path (path->bytes
|
||||
path) (path-convention-type path))] always produces a path is that is
|
||||
path) (path-convention-type path))] always produces a path that is
|
||||
@racket[equal?] to @racket[path]. The @racket[path] argument can be a
|
||||
path for any platform.
|
||||
|
||||
|
@ -516,8 +516,8 @@ the list is a root.}
|
|||
@defproc[(file-name-from-path [path (or/c path-string? path-for-some-system?)])
|
||||
(or/c path-for-some-system? #f)]{
|
||||
|
||||
Returns the last element of @racket[path]. If @racket[path]
|
||||
syntactically a directory path (see @racket[split-path]), then then
|
||||
Returns the last element of @racket[path]. If @racket[path] is
|
||||
syntactically a directory path (see @racket[split-path]), then the
|
||||
result is @racket[#f].}
|
||||
|
||||
@defproc[(filename-extension [path (or/c path-string? path-for-some-system?)])
|
||||
|
|
|
@ -1721,7 +1721,7 @@ application and function declaration, an identifier in the expansion
|
|||
of the function application is tagged with a @tech{syntax property}
|
||||
accessible via @racket[syntax-procedure-alias-property] if it is effectively an alias
|
||||
for the original identifier. An identifier in the expansion is tagged with a
|
||||
a @tech{syntax property} accessible via @racket[syntax-procedure-converted-arguments-property] if it
|
||||
@tech{syntax property} accessible via @racket[syntax-procedure-converted-arguments-property] if it
|
||||
is like the original identifier except that the arguments are converted to a
|
||||
flattened form: keyword arguments, required by-position arguments,
|
||||
by-position optional arguments, and rest arguments---all as required,
|
||||
|
|
Loading…
Reference in New Issue
Block a user