doc: fix unbalanced braces and merge excessive history elements

This commit is contained in:
sorawee 2021-01-19 06:01:16 -08:00 committed by GitHub
parent 317eaabee4
commit 9957cdeec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -100,10 +100,11 @@ Creates a prompt tag that is not @racket[equal?] to the result of any
other value (including prior or future results from
@racket[make-continuation-prompt-tag]). The optional @racket[name]
argument, if supplied, specifies the name of the prompt tag
for printing or @racket[object-name].}
for printing or @racket[object-name].
@history[#:changed "7.9.0.13" @elem{The @racket[name] argument
gives the name of the prompt tag.}]
}
@defproc[(default-continuation-prompt-tag) continuation-prompt-tag?]{

View File

@ -469,7 +469,7 @@ If the @racket[eager] argument is @racket[#t], then immutable vectors are
checked eagerly when @racket[c] is a @tech{flat contract}. If the
@racket[eager] argument is a number @racket[n], then immutable vectors are checked
eagerly when @racket[c] is a @tech{flat contract} and the length of the vector
is less than or equal to @racket[n].}
is less than or equal to @racket[n].
When a higher-order @racket[vectorof] contract is applied to a vector, the result
is not @racket[eq?] to the input. The result will be a copy for immutable vectors
@ -480,7 +480,7 @@ in which case the result is the original vector.
@history[#:changed "6.3.0.5" @list{Changed flat vector contracts to not copy
immutable vectors.}
#:changed "6.7.0.3" @list{Added the @racket[#:eager] option.}]
}
@defproc[(vector-immutableof [c contract?]) contract?]{

View File

@ -97,7 +97,6 @@ then it may be treated as if a sequence transformer such as
@racket[in-list] was used, unless the @racket[seq-expr] has a true
value for the @indexed-racket['for:no-implicit-optimization] syntax
property; in most cases this improves performance.
@history[#:changed "7.8.0.11" @elem{Added support for implicit optimization.}]}
@examples[
(for ([i '(1 2 3)]
@ -128,7 +127,8 @@ property; in most cases this improves performance.
(error "doesn't get here"))
]
@history[#:changed "6.7.0.4" @elem{Added support for the optional second result.}]}
@history[#:changed "6.7.0.4" @elem{Added support for the optional second result.}
#:changed "7.8.0.11" @elem{Added support for implicit optimization.}]}
@defform[(for/list (for-clause ...) body-or-break ... body)]{ Iterates like
@racket[for], but that the last expression in the @racket[body]s must