Re: [Scheme-reports] Requesting early review of a character sequence library
Jonathan A Rees 18 Dec 2014 14:28 UTC
Can you say what your goals are?
-- apologies for brevity / using handheld gizmo --
> On Dec 17, 2014, at 20:49, John Cowan <cowan@mercury.ccil.org> wrote:
>
> 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"
>
> _______________________________________________
> Scheme-reports mailing list
> Scheme-reports@scheme-reports.org
> http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports