| Deutsch English Français Italiano |
|
<103eafo$2204g$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: "B. Pym" <Nobody447095@here-nor-there.org> Newsgroups: comp.lang.lisp Subject: Re: novice: mapcan use? Date: Tue, 24 Jun 2025 13:50:51 -0000 (UTC) Organization: A noiseless patient Spider Lines: 21 Message-ID: <103eafo$2204g$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Injection-Date: Tue, 24 Jun 2025 15:50:51 +0200 (CEST) Injection-Info: dont-email.me; posting-host="707e9bf545b0798668d5862c799e5553"; logging-data="2162832"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cQ4UoVdbTsxS1DfdN6Sw8" User-Agent: XanaNews/1.18.1.6 Cancel-Lock: sha1:4UKNQ5F+/nJykU+KrxCrNE35eCY= Pascal Costanza wrote: > >>Do you understand what nreconc is there for? Have you ever used it? > > > > Here's an example: > > > > <http://groups.google.com/group/comp.lang.lisp/msg/2520fe9bc7749328> > > Yes, I am aware of that example, but I find it too obfuscated. I prefer > this: > > (loop for (key value) on plist by #'cddr > unless (member key keys-to-be-removed) > nconc (list key value)) Gauche Scheme (delete-keywords '(foo bar) '(a 2 foo 77 b 3 bar 88 c 4)) ===> (a 2 b 3 c 4)