emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generic sequences in seq.el


From: Stefan Monnier
Subject: Re: Generic sequences in seq.el
Date: Tue, 08 Jan 2019 10:01:52 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Still, it would be convenient to have a function
> that can destructively modify a sequence. What is
> the reason to not have one?

Two reasons:
1- Side-effects are bad.
2- There hasn't yet been a compelling reason to add one.
3- As mentioned before "We currently don't have any data-structure that
   can be efficiently modified in-place via push/pop".


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]