corrections to reference implementation William D Clinger (20 Mar 2009 03:10 UTC)
Re: corrections to reference implementation Michael Sperber (29 Mar 2009 09:47 UTC)

Re: corrections to reference implementation Michael Sperber 29 Mar 2009 09:47 UTC

William D Clinger <xxxxxx@ccs.neu.edu> writes:

> The current reference implementation of SRFI 43 blows up on
> several trivial cases that, according to the specification
> itself, would appear to be legal.  Examples:
>
>     (vector-copy '#() 0)
>     (vector-copy! (vector) 0 '#())
>     (vector-reverse-copy! (vector) 0 '#())
>
> All three problems arise from premature index checking.  I have
> rewritten those procedures to match the SRFI's specification:
>
> https://trac.ccs.neu.edu/trac/larceny/browser/trunk/larceny_src/lib/SRFI/srfi-43.sch

Thanks for the fixes - Taylor Campbell has reviewed them (thanks,
Taylor!), and I've checked them into the copy on srfi.schemers.org.

--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla