Deutsch   English   Français   Italiano  
<103230t$5vrf$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: mapcar using a function with one argument fixed
Date: Thu, 19 Jun 2025 22:29:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <103230t$5vrf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Injection-Date: Fri, 20 Jun 2025 00:29:50 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="05ef7e94c075ed52b3ac4650e1718411";
	logging-data="196463"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18RX2O2XlK9yhud1a0f/jbS"
User-Agent: XanaNews/1.18.1.6
Cancel-Lock: sha1:ju0ssQbggcFM9J//YR+GyPbwZjk=

Rainer Joswig wrote:

> (LOOP FOR x IN list-for-xs AND y IN list-for-ys
>       COLLECT (my-function a y x b))

Scheme:

(map
  (lambda(x y) (list x '< y))
  '(2 3 4 5)
  '(6 7 8 9))

  ===>
((2 < 6) (3 < 7) (4 < 8) (5 < 9))