[r6rs-discuss] append confusion

Michael Sperber sperber at deinprogramm.de
Mon Mar 30 02:47:53 EDT 2009


"leppie" <xacc.ide at gmail.com> writes:

> "If append constructs a nonempty chain of pairs, it is always newly 
> allocated."
>
> Does this mean the following need to allocate a new pair?
>
> (append '() '(a) '())

The intention was, that, in this case, append does not construct a
nonempty chain of pairs, therefore nothing needs to be newly allocated.
I agree it's a bit confusing - if you can suggest a better wording, I'd
be happy to add an erratum.

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



More information about the r6rs-discuss mailing list