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

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

Re: Combining lists in Emacs Lisp


From: Kodi Arfer
Subject: Re: Combining lists in Emacs Lisp
Date: Mon, 10 Dec 2007 12:08:11 +0000
User-agent: Pan/0.129 (Benson & Hedges Moscow Gold)

On Thu, 06 Dec 2007 23:38:41 +0100, David Kastrup wrote:

> You can try
> 
> (apply '+ 4 3 (append foo bar))
> 
> Which is not necessarily terribly efficient but should work.

And it does work! Thank you. Even if the copying is inefficient (I assume 
that's the inefficient part), I don't imagine there's any way to carve up 
lists like this without copying something.


reply via email to

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