[scheme-reports-wg2] Requesting early review of a character sequence library John Cowan 18 Dec 2014 01:49 UTC

I'd appreciate getting feedback on the pre-SRFI version of a library I
have designed for immutable shared character sequences called "spans".
It's available at <http://trac.sacrideo.us/wg/wiki/StringSlicesCowan>
(the term "string slice" is no longer used).  Here are the current issues:

1) Is "character span" a satisfactory name?

2) Allow negative indices in make-span and subspan? Convenient, but
irregular.

3) Titlecase doesn't really fit; keep it?

4) Keep string trees?

5) Keep compatibility routines, possibly in a different package?

6) I have made the argument order of string-tabulate compatible with SRFI
1 list-tabulate rather than SRFI 13's string-tabulate; the discrepancy
was accidental. Revert to SRFI 13 argument order?

7) Currently string-mismatch returns a cursor into its second
argument. Should it return a cursor into the first argument, or into
both arguments? (In Chibi it makes no difference.)

8) Keep in-char-set?? It creates a dependency on SRFI 14, but is essential
for SRFI 13 emulation.

9) Bring back -ci variants of the prefix and suffix operations and
span-compare from SRFI 13?

--
John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
It was dreary and wearisome.  Cold clammy winter still held sway in this
forsaken country.  The only green was the scum of livid weed on the dark
greasy surfaces of the sullen waters.  Dead grasses and rotting reeds loomed
up in the mists like ragged shadows of long-forgotten summers.
        --LOTR, "The Passage of the Marshes"

--
You received this message because you are subscribed to the Google Groups "scheme-reports-wg2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheme-reports-wg2+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.