[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alist and multiple values for one key
From: |
Kai Großjohann |
Subject: |
Re: alist and multiple values for one key |
Date: |
Mon, 20 Jan 2003 18:19:54 +0100 |
User-agent: |
Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.3.50 (i686-pc-linux-gnu) |
ncauderan@hotmail.com (Norbert C.) writes:
> I would lile to find the "good way" to retrieve multiple values
> for a given key in an alist.
>
> But I didn't find a natural way to do it.
Oh, with (require 'cl), you could do
(remove-if-not (lambda (x) (eq (car x) KEY)) ALIST)
Is that natural? It's short, anyway.
--
Ambibibentists unite!