all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kodi Arfer <withheld@domain.tld>
To: help-gnu-emacs@gnu.org
Subject: Re: Combining lists in Emacs Lisp
Date: Mon, 10 Dec 2007 12:08:11 +0000	[thread overview]
Message-ID: <f0eda$475d2c2b$8dc3973d$21158@ALLTEL.NET> (raw)
In-Reply-To: 85hcivo3da.fsf@lola.goethe.zz

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	other threads:[~2007-12-10 12:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-06 20:39 Combining lists in Emacs Lisp Kodi Arfer
2007-12-06 22:38 ` David Kastrup
2007-12-10 12:08   ` Kodi Arfer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='f0eda$475d2c2b$8dc3973d$21158@ALLTEL.NET' \
    --to=withheld@domain.tld \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.