Some repeated "and and"s and "the the"s, and two more typos.
Closes PR 11229.
This commit is contained in:
parent
e222407a1d
commit
ee138cf2cb
|
@ -1003,7 +1003,7 @@
|
||||||
|
|
||||||
; excess : R+ R+ -> R
|
; excess : R+ R+ -> R
|
||||||
; compute the Euclidean excess
|
; compute the Euclidean excess
|
||||||
; Note: If the excess is 0, the the C is 90 deg.
|
; Note: If the excess is 0, then C is 90 deg.
|
||||||
; If the excess is negative, then C is obtuse.
|
; If the excess is negative, then C is obtuse.
|
||||||
; If the excess is positive, then C is acuse.
|
; If the excess is positive, then C is acuse.
|
||||||
(define (excess a b c)
|
(define (excess a b c)
|
||||||
|
|
|
@ -149,7 +149,7 @@ webscript="collects/meta/web/build.rkt"
|
||||||
# sitemap materials
|
# sitemap materials
|
||||||
sitemapdir="$scriptdir/sitemap"
|
sitemapdir="$scriptdir/sitemap"
|
||||||
|
|
||||||
# platform-installer stuff, all relative the the racket tree
|
# platform-installer stuff, all relative to the racket tree
|
||||||
nsisdir="$scriptdir/nsis"
|
nsisdir="$scriptdir/nsis"
|
||||||
unixinstallerdir="$scriptdir/unix-installer"
|
unixinstallerdir="$scriptdir/unix-installer"
|
||||||
unixpathcheckscript="$unixinstallerdir/check-install-paths"
|
unixpathcheckscript="$unixinstallerdir/check-install-paths"
|
||||||
|
|
|
@ -2601,7 +2601,7 @@
|
||||||
accept it. On the other hand, if you're working with someone specific,
|
accept it. On the other hand, if you're working with someone specific,
|
||||||
they might prefer attachments (for example, it's easier to save the
|
they might prefer attachments (for example, it's easier to save the
|
||||||
attached file from gmail).}}
|
attached file from gmail).}}
|
||||||
@~ Once the commits have been pushed the the main repository, you would get
|
@~ Once the commits have been pushed to the main repository, you would get
|
||||||
them when you pull to update. The commits will now be different objects
|
them when you pull to update. The commits will now be different objects
|
||||||
than the ones you have — since the information changed (at least the
|
than the ones you have — since the information changed (at least the
|
||||||
committer information will be different, the log message might have been
|
committer information will be different, the log message might have been
|
||||||
|
|
|
@ -161,7 +161,7 @@
|
||||||
(raise-blame-error
|
(raise-blame-error
|
||||||
blame
|
blame
|
||||||
val
|
val
|
||||||
"expected a procedure that accepts ~a arguments and and arbitrarily more~a, given: ~e"
|
"expected a procedure that accepts ~a arguments and arbitrarily more~a, given: ~e"
|
||||||
dom-length
|
dom-length
|
||||||
(keyword-error-text mandatory-kwds)
|
(keyword-error-text mandatory-kwds)
|
||||||
val)))
|
val)))
|
||||||
|
|
|
@ -140,7 +140,7 @@ are a few examples, using @scheme[:] prefixed SRE syntax:
|
||||||
|
|
||||||
@item{@schemeblock0[(:: "/*" (:* (complement "*/")) "*/")]
|
@item{@schemeblock0[(:: "/*" (:* (complement "*/")) "*/")]
|
||||||
|
|
||||||
Matches any string that starts with @scheme["/*"] and and ends with
|
Matches any string that starts with @scheme["/*"] and ends with
|
||||||
@scheme["*/"], including @scheme["/* */ */ */"].
|
@scheme["*/"], including @scheme["/* */ */ */"].
|
||||||
@scheme[(complement "*/")] matches any string except @scheme["*/"].
|
@scheme[(complement "*/")] matches any string except @scheme["*/"].
|
||||||
This includes @scheme["*"] and @scheme["/"] separately. Thus
|
This includes @scheme["*"] and @scheme["/"] separately. Thus
|
||||||
|
|
|
@ -1740,7 +1740,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; if a one-rowed matrix is the the result, assume that the matching isn't over and just update the eqs
|
; if a one-rowed matrix is the result, assume that the matching isn't over and just update the eqs
|
||||||
#;((Build-Term-Let (eqs ...) (matrix (x_1 ...) (((p_1 ... -> r) eqs_2 ...)) (pvar_1 ...) (pvar_2 ...) natural bool))
|
#;((Build-Term-Let (eqs ...) (matrix (x_1 ...) (((p_1 ... -> r) eqs_2 ...)) (pvar_1 ...) (pvar_2 ...) natural bool))
|
||||||
(matrix (x_1 ...) (((p_1 ... -> r) eqs ...)) (pvar_1 ...) (pvar_2 ...) natural bool))
|
(matrix (x_1 ...) (((p_1 ... -> r) eqs ...)) (pvar_1 ...) (pvar_2 ...) natural bool))
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ that number to control the gauge along the bottom of the splash screen.
|
||||||
|
|
||||||
The @racket[draw-spec] determines what the splash window contains.
|
The @racket[draw-spec] determines what the splash window contains.
|
||||||
The @racket[splash-title] is used as the title of the window and the @racket[width-default] determines
|
The @racket[splash-title] is used as the title of the window and the @racket[width-default] determines
|
||||||
how many progress steps the gauge in the the splash screen should
|
how many progress steps the gauge in the splash screen should
|
||||||
contain if there is no preference saved for the splash screen width.
|
contain if there is no preference saved for the splash screen width.
|
||||||
The splash library uses @racket[get-preference] and @racket[put-preferences]
|
The splash library uses @racket[get-preference] and @racket[put-preferences]
|
||||||
to store preferences, using
|
to store preferences, using
|
||||||
|
|
|
@ -338,7 +338,7 @@ source in an namespace that iniitially imports @racketmodname[scheme].
|
||||||
|
|
||||||
Outside of a module, top-level @racket[define-syntaxes],
|
Outside of a module, top-level @racket[define-syntaxes],
|
||||||
@racket[module], @racket[#%require],
|
@racket[module], @racket[#%require],
|
||||||
@racket[define-values-for-syntax], and and @racket[begin] expressions
|
@racket[define-values-for-syntax], and @racket[begin] expressions
|
||||||
are handled specially by @exec{raco make --no-deps}: the compile-time
|
are handled specially by @exec{raco make --no-deps}: the compile-time
|
||||||
portion of the expression is evaluated, because it might affect later
|
portion of the expression is evaluated, because it might affect later
|
||||||
expressions.
|
expressions.
|
||||||
|
|
|
@ -291,7 +291,7 @@ fails.}
|
||||||
@defform[(with-handlers ([pred-expr handler-expr] ...)
|
@defform[(with-handlers ([pred-expr handler-expr] ...)
|
||||||
body ...+)]{
|
body ...+)]{
|
||||||
|
|
||||||
Evaluates each @racket[pred-expr] and and @racket[handler-expr] in the
|
Evaluates each @racket[pred-expr] and @racket[handler-expr] in the
|
||||||
order that they are specified, and then evaluates the @racket[body]s
|
order that they are specified, and then evaluates the @racket[body]s
|
||||||
with a new exception handler during the its dynamic extent.
|
with a new exception handler during the its dynamic extent.
|
||||||
|
|
||||||
|
|
|
@ -979,7 +979,7 @@ instead, parts of @scheme[v] are copied as necessary to construct
|
||||||
the resulting graph, where at most one copy is created for any given
|
the resulting graph, where at most one copy is created for any given
|
||||||
value.
|
value.
|
||||||
|
|
||||||
Since the copied vales can be immutable, and since the copy is also
|
Since the copied values can be immutable, and since the copy is also
|
||||||
immutable, @scheme[make-reader-graph] can create cycles involving only
|
immutable, @scheme[make-reader-graph] can create cycles involving only
|
||||||
immutable pairs, vectors, boxes, and hash tables.
|
immutable pairs, vectors, boxes, and hash tables.
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ the result is always a @tech{fixnum}. The @scheme[unsafe-fxlshift] and
|
||||||
@scheme[unsafe-fxrshift] is a negative (i.e., right) shift, where the
|
@scheme[unsafe-fxrshift] is a negative (i.e., right) shift, where the
|
||||||
number of bits to shift must be less than the number of bits used to
|
number of bits to shift must be less than the number of bits used to
|
||||||
represent a @tech{fixnum}. In the case of @scheme[unsafe-fxlshift],
|
represent a @tech{fixnum}. In the case of @scheme[unsafe-fxlshift],
|
||||||
bits in the result beyond the the number of bits used to represent a
|
bits in the result beyond the number of bits used to represent a
|
||||||
@tech{fixnum} are effectively replaced with a copy of the high bit.}
|
@tech{fixnum} are effectively replaced with a copy of the high bit.}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ the result is some internal representation of the failure.
|
||||||
#:contracts ([stx-expr syntax?])]{
|
#:contracts ([stx-expr syntax?])]{
|
||||||
|
|
||||||
Tries to match @scheme[stx-expr] against the @scheme[S-pattern]s. If
|
Tries to match @scheme[stx-expr] against the @scheme[S-pattern]s. If
|
||||||
matching succeeds, the the symbol @scheme['success] is
|
matching succeeds, the symbol @scheme['success] is
|
||||||
returned. Otherwise, an S-expression describing the failure is returned.
|
returned. Otherwise, an S-expression describing the failure is returned.
|
||||||
|
|
||||||
The failure S-expression shows both the raw set of failures (unsorted)
|
The failure S-expression shows both the raw set of failures (unsorted)
|
||||||
|
|
|
@ -378,12 +378,12 @@ All @tech{MouseEvent}s are represented via strings:
|
||||||
integer? integer? (unsyntax @tech{MouseEvent})
|
integer? integer? (unsyntax @tech{MouseEvent})
|
||||||
(unsyntax @tech{WorldState}))])]{
|
(unsyntax @tech{WorldState}))])]{
|
||||||
tells DrRacket to call @scheme[mouse-expr] on the current world, the current
|
tells DrRacket to call @scheme[mouse-expr] on the current world, the current
|
||||||
@scheme[x] and @scheme[y] coordinates of the mouse, and and a
|
@scheme[x] and @scheme[y] coordinates of the mouse, and a
|
||||||
@tech{MouseEvent} for every (noticeable) action of the mouse by the
|
@tech{MouseEvent} for every (noticeable) action of the mouse by the
|
||||||
computer user. The result of the call becomes the current world.
|
computer user. The result of the call becomes the current world.
|
||||||
|
|
||||||
For @scheme["leave"] and @scheme["enter"] events, the coordinates of the
|
For @scheme["leave"] and @scheme["enter"] events, the coordinates of the
|
||||||
mouse click may be outside of the (implicitly) rectangle. That is, the
|
mouse click may be outside of the (implicit) rectangle. That is, the
|
||||||
coordinates may be negative or larger than the (implicitly) specified
|
coordinates may be negative or larger than the (implicitly) specified
|
||||||
width and height.
|
width and height.
|
||||||
|
|
||||||
|
|
|
@ -162,7 +162,7 @@ A @tech{KeyEvent} represents key board events, e.g., keys pressed or
|
||||||
|
|
||||||
@defproc[(on-mouse-event [clack (-> (unsyntax @tech{World}) natural-number/c natural-number/c (unsyntax @tech{MouseEvent}) (unsyntax @tech{World}))]) true]{
|
@defproc[(on-mouse-event [clack (-> (unsyntax @tech{World}) natural-number/c natural-number/c (unsyntax @tech{MouseEvent}) (unsyntax @tech{World}))]) true]{
|
||||||
Tell DrRacket to call @scheme[clack] on the current world, the current
|
Tell DrRacket to call @scheme[clack] on the current world, the current
|
||||||
@scheme[x] and @scheme[y] coordinates of the mouse, and and a
|
@scheme[x] and @scheme[y] coordinates of the mouse, and a
|
||||||
@tech{MouseEvent} for every action of the mouse by the user of the
|
@tech{MouseEvent} for every action of the mouse by the user of the
|
||||||
computer. The result of the call becomes the current world.}
|
computer. The result of the call becomes the current world.}
|
||||||
|
|
||||||
|
|
|
@ -149,6 +149,6 @@
|
||||||
arguments))
|
arguments))
|
||||||
(result-arguments-list (property-fail-result fail)))]
|
(result-arguments-list (property-fail-result fail)))]
|
||||||
[(property-error? fail)
|
[(property-error? fail)
|
||||||
(print "check-property encountered the the following error\n:: ~a"
|
(print "check-property encountered the following error\n:: ~a"
|
||||||
(property-error-message fail))])
|
(property-error-message fail))])
|
||||||
(print-string "\n")))
|
(print-string "\n")))
|
||||||
|
|
|
@ -708,7 +708,7 @@
|
||||||
|
|
||||||
;; ------------------------------------------------------------
|
;; ------------------------------------------------------------
|
||||||
;; ...-final clauses.
|
;; ...-final clauses.
|
||||||
;; Internal calls to public-final and and pubment are direct,
|
;; Internal calls to public-final and pubment are direct,
|
||||||
;; but other calls must be indirect.
|
;; but other calls must be indirect.
|
||||||
|
|
||||||
(let ()
|
(let ()
|
||||||
|
|
|
@ -139,7 +139,7 @@ to be @emph{syntactically} an @|xexpr|. You may discover you want to use a more
|
||||||
|
|
||||||
@defform[(formlet* rendering-expr yields-expr)]{
|
@defform[(formlet* rendering-expr yields-expr)]{
|
||||||
Constructs a @tech{formlet} where @racket[rendering-expr] is evaluated (with caveats) to construct the rendering
|
Constructs a @tech{formlet} where @racket[rendering-expr] is evaluated (with caveats) to construct the rendering
|
||||||
and the processing result is the evaluation of the the @racket[yields-expr] expression.
|
and the processing result is the evaluation of the @racket[yields-expr] expression.
|
||||||
The @racket[rendering-expr] should evaluate to an "@xexpr" that may embed the results of the following forms
|
The @racket[rendering-expr] should evaluate to an "@xexpr" that may embed the results of the following forms
|
||||||
that only have meaning within @racket[formlet*]:
|
that only have meaning within @racket[formlet*]:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user