Email list hosting service & mailing list manager

typos Arthur A. Gleckler (13 Dec 2015 21:50 UTC)
Re: typos John Cowan (14 Dec 2015 02:47 UTC)
Re: typos Arthur A. Gleckler (14 Dec 2015 03:34 UTC)
Re: typos John Cowan (14 Dec 2015 04:04 UTC)

Re: typos John Cowan 14 Dec 2015 02:47 UTC

Arthur A. Gleckler scripsit:

> - In the Selection section, this paragraph appears: "Returns a string which
> contains all but the last n characters of string."

Fixed.

> - In the Copying and conversion section, the first two procedures take a
> parameter *span*, but the description uses *string*, which is consistent
> with the rest of the document.

Yes, that's because I copied them from Draft #1 after the global
replacement of "span" with "string".  Fixed.

> (Why have two names for equivalent procedures, by the way?  That will
> be confusing.)

R7RS-small has both.  I think of `substring`, which is the only name in
R5RS, as primarily for backward compatibility.  On the other hand, there
is no contrast between -copy and -copy! here, as there is in R7RS-small
and SRFI-13.

(In SRFI 13, string-copy makes a real copy, whereas substring may make
a shared substring, but this distinction matters only in Guile.)

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
Work hard / play hard,                                      xxxxxx@ccil.org
die young / rot quickly.