Re: string-range Wolfgang Corcoran-Mathe 02 Sep 2020 21:25 UTC

On 2020-09-02 17:16 -0400, Wolfgang Corcoran-Mathe wrote:
> On 2020-09-02 17:11 -0400, John Cowan wrote:
> > > (define (string-range s)
> > >   (vector-range (string->vector s)))
> > >
> >
> > This requires that string-range be O(n).  Added.
>
> This is already in the current draft of the SRFI document.  You may
> want to do a merge, then change whatever you don't like.

Sorry, I realize now that you were referring to the complexity
requirement and the additional rationale, not string-range itself.

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>

"If one is searching for a needle in a haystack, look in the part
of the haystack that contains more needles." --Bird & Wadler