Re: lset-adjoin! missing from implementation and index
Ricardo G. Herdt 28 Nov 2021 00:47 UTC
Hi,
Am 28.11.2021 01:32 schrieb Arthur A. Gleckler:
>> Thank you. This looks correct given that the text describing
>> linear-update procedures doesn't specify which arguments one may
>> update. Still, I would be surprised by this implementation, which
>> may modify elts, not just lis. What do you think?
>
I kind of took inspiration from lset-union!. Changing lis would be
tricky, since it can be empty, and set-cdr! doesn't work on empty lists.
Maybe others can give some better insights on this.
Ricardo