Re: Lists vs. alists taylanbayirli@xxxxxx (16 Aug 2015 12:25 UTC)
Re: Lists vs. alists taylanbayirli@xxxxxx 16 Aug 2015 12:25 UTC
John Cowan <email@example.com> writes:
> Taylan Ulrich Bayırlı/Kammer scripsit:
>> Might it be more useful to drop support for list-ref/list-set!, and
>> support alists instead?
> I would say no. Destructive changes to lists are rare, and destructive
> changes to alists are even rarer. People use alists when they want to
> bind new values to keys that can easily be dropped later, making the
> old values visible again.
> Keep lists for compatibility, and forget alists.
Sounds sensible. I elaborated on the rationale in accordance. Thanks
for the input!
(Intermediate changes to the document can be found in my clone of the
GitHub repository, until they are pulled into the original one.)