all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Nordlöw <per.nordlow@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Wanted: mapcar() without nils
Date: Sat, 13 Jun 2009 14:47:02 +0200	[thread overview]
Message-ID: <e01d8a50906130547w1c4c5afdrda3db9dd7946d4b9@mail.gmail.com> (raw)
In-Reply-To: <d5689c87-a872-473c-87a2-8a0a3787ec18@b9g2000yqm.googlegroups.com>

(delq nil ...)

On Sat, Jun 13, 2009 at 2:19 PM, Nordlöw<per.nordlow@gmail.com> wrote:
> How do I apply a function for each element in a sequence a return the
> non-nil result only? I have used mapcar() but it returns the nils
> aswell. Do I have to filter out the non-nils explicitly or is there a
> builtin function that does all this?
>
> /Nordlöw
>




  reply	other threads:[~2009-06-13 12:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-13 12:19 Wanted: mapcar() without nils Nordlöw
2009-06-13 12:47 ` Lennart Borgman [this message]
     [not found] ` <mailman.562.1244897231.2239.help-gnu-emacs@gnu.org>
2009-06-13 18:24   ` Nordlöw
2009-06-13 19:05     ` Thierry Volpiatto
     [not found]     ` <mailman.581.1244920367.2239.help-gnu-emacs@gnu.org>
2009-06-13 19:33       ` Nordlöw
2009-06-13 19:45         ` Nordlöw
2009-06-13 19:43     ` Lennart Borgman
2009-06-13 20:02     ` Drew Adams

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=e01d8a50906130547w1c4c5afdrda3db9dd7946d4b9@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=per.nordlow@gmail.com \
    /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.