scribble typos; fixed index entries for concatenate
svn: r8516
This commit is contained in:
parent
3141700af2
commit
d4da20c951
|
@ -140,7 +140,7 @@ positions are initialized with the given @scheme[b]s.
|
||||||
|
|
||||||
@defproc[(bytes-append [bstr bytes?] ...) bytes?]{
|
@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 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
|
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
|
no @scheme[bstr]s are provided, the result is a zero-length byte
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
@guideintro["strings"]{strings}
|
@guideintro["strings"]{strings}
|
||||||
|
|
||||||
A @pidefterm{string} is a fixed-length arary of
|
A @pidefterm{string} is a fixed-length array of
|
||||||
@seclink["characters"]{characters}.
|
@seclink["characters"]{characters}.
|
||||||
|
|
||||||
@index['("strings" "immutable")]{A} string can be @defterm{mutable} or
|
@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?])
|
@defproc[(string-ref [str string?] [k exact-nonnegative-integer?])
|
||||||
char?]{ Returns the character at position @scheme[k] in @scheme[str].
|
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,
|
position @scheme[k] must be less than the length of the string,
|
||||||
otherwise the @exnraise[exn:fail:contract].
|
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
|
@defproc[(string-set! [str (and/c string? (not/c immutable?))] [k
|
||||||
exact-nonnegative-integer?] [char char?]) void?]{ Changes the
|
exact-nonnegative-integer?] [char char?]) void?]{ Changes the
|
||||||
character position @scheme[k] in @scheme[str] to @scheme[char]. The first
|
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
|
@scheme[k] must be less than the length of the string, otherwise the
|
||||||
@exnraise[exn:fail:contract].
|
@exnraise[exn:fail:contract].
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ Returns an immutable string with the same content as
|
||||||
|
|
||||||
@defproc[(string-append [str string?] ...) string?]{
|
@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
|
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
|
contains the concatenated characters of the given @scheme[str]s. If no
|
||||||
@scheme[str]s are provided, the result is a zero-length string.
|
@scheme[str]s are provided, the result is a zero-length string.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user