[r6rs-discuss] append confusion
aghuloum at cs.indiana.edu
Mon Mar 30 10:38:19 EDT 2009
On Mar 30, 2009, at 9:47 AM, Michael Sperber wrote:
> "leppie" <xacc.ide at gmail.com> writes:
>> "If append constructs a nonempty chain of pairs, it is always newly
>> 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
> I agree it's a bit confusing - if you can suggest a better wording,
> be happy to add an erratum.
You probably read the example as
(append '() '(a))
(append '() '(a) '())
More information about the r6rs-discuss