On Mar 29, 2009, at 2:15 PM, leppie wrote:

> Hi
>
> 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.

Aziz,,,

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

Reply via email to