bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#33309: Add flatten-list?


From: Alex Branham
Subject: bug#33309: Add flatten-list?
Date: Mon, 10 Dec 2018 17:17:21 -0600
User-agent: mu4e 1.1.0; emacs 27.0.50

On Mon 10 Dec 2018 at 16:42, Basil L. Contovounesios <contovob@tcd.ie> wrote:

> Given Emacs' recursive limitations, wouldn't an iterative implementation
> be better?  For instance, the following currently blows
> max-specpdl-size:

Yes, that does seem better, updated patch attached. I also updated the
docstring to explicitly state how it handles nil values and dotted
pairs.

Basil, if you want git author credit, feel free to use yourself as the
author since you wrote the function :-)

Alex

Attachment: 0001-New-function-flatten-tree.patch
Description: Text Data


reply via email to

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