William D Clinger scripsit:
> The most important changes in the second draft are:
They all sound good to me. I think my suggestions for saving the
mapping procedures probably don't make sense: they were based on
some false assumptions, and I revert to the more radical position
that the mapping procedures should simply be flushed.
> Recommended an external representation for immutable texts,
Note that R7RS requires that if `read` supports a syntax, so must
the language processor, so your last two suggestions should be
combined.
> Renamed procedures that accept both strings and texts to
> begin with "textual-" instead of "text-".
The section on naming conventions still says that that "string-" has
been changed to "text-"; it should say "textual-". Also, I think the
constructors should all have "text-", not "textual-"; they don't accept
textuals.
Other ideas:
1) You might want to include text-titlecase based on SRFI 129.
2) Perhaps there should be a kernel that guarantees O(1) running
time for subtext, if possible.
3) The optional arguments of textual-concatenate-reverse make
little sense in an immutable text world: if they are to be kept,
the "textual-final" option should be changed to a string.
--
John Cowan http://www.ccil.org/~cowan xxxxxx@ccil.org
Pour moi, les villes du Silmarillion ont plus de realite que Babylone.
--Christopher Tolkien, as interviewed by Le Monde