On Sun, Mar 29, 2009 at 7:23 AM, Abdulaziz Ghuloum
<[email protected]>wrote:

> On Mar 29, 2009, at 2:15 PM, leppie wrote:
> > Documentation for 'append' states:
> >
> > "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) '())
>
> Yes.  (append '(a) '()) should return a new pair.
>

This doesn't follow from the sentence quoted by leppie, but the one
immediately following it in the text:
     "If no pairs are allocated, *obj* is returned."

Lynn
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to