scribble typos; fixed index entries for concatenate

svn: r8516
This commit is contained in:
Danny Yoo 2008-02-03 03:56:23 +00:00
parent 3141700af2
commit d4da20c951
2 changed files with 5 additions and 5 deletions

View File

@ -140,7 +140,7 @@ positions are initialized with the given @scheme[b]s.
@defproc[(bytes-append [bstr bytes?] ...) bytes?]{
@index["byte strings" "concatenate"]{Returns} a new mutable byte string
@index['("byte strings" "concatenate")]{Returns} a new mutable byte string
that is as long as the sum of the given @scheme[bstr]s' lengths, and
that contains the concatenated bytes of the given @scheme[bstr]s. If
no @scheme[bstr]s are provided, the result is a zero-length byte

View File

@ -5,7 +5,7 @@
@guideintro["strings"]{strings}
A @pidefterm{string} is a fixed-length arary of
A @pidefterm{string} is a fixed-length array of
@seclink["characters"]{characters}.
@index['("strings" "immutable")]{A} string can be @defterm{mutable} or
@ -63,7 +63,7 @@ Returns an immutable string with the same content as
@defproc[(string-ref [str string?] [k exact-nonnegative-integer?])
char?]{ Returns the character at position @scheme[k] in @scheme[str].
The first position in the string cooresponds to @scheme[0], so the
The first position in the string corresponds to @scheme[0], so the
position @scheme[k] must be less than the length of the string,
otherwise the @exnraise[exn:fail:contract].
@ -73,7 +73,7 @@ Returns an immutable string with the same content as
@defproc[(string-set! [str (and/c string? (not/c immutable?))] [k
exact-nonnegative-integer?] [char char?]) void?]{ Changes the
character position @scheme[k] in @scheme[str] to @scheme[char]. The first
position in the string cooresponds to @scheme[0], so the position
position in the string corresponds to @scheme[0], so the position
@scheme[k] must be less than the length of the string, otherwise the
@exnraise[exn:fail:contract].
@ -133,7 +133,7 @@ Returns an immutable string with the same content as
@defproc[(string-append [str string?] ...) string?]{
@index["strings" "concatenate"]{Returns} a new mutable string that is
@index['("strings" "concatenate")]{Returns} a new mutable string that is
as long as the sum of the given @scheme[str]s' lengths, and that
contains the concatenated characters of the given @scheme[str]s. If no
@scheme[str]s are provided, the result is a zero-length string.