Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <20240705174918.512@kylheku.com>
Deutsch   English   Français   Italiano  
<20240705174918.512@kylheku.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Kaz Kylheku <643-408-1753@kylheku.com>
Newsgroups: comp.lang.lisp
Subject: Re: distinction?
Date: Sat, 6 Jul 2024 00:50:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <20240705174918.512@kylheku.com>
References: <v69o3k$3enaf$1@dont-email.me>
Injection-Date: Sat, 06 Jul 2024 02:50:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="fc51a894bcb0298b20f0a8b2608abe07";
	logging-data="3689131"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18mqsMXP0nsch0O4ubA1hz0Fsu8RzU17VU="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:9G4zqAWULKjfImzDF/73wpRkHuc=
Bytes: 1556

On 2024-07-05, B. Pym <No_spamming@noWhere_7073.org> wrote:
> Kent M. Pitman wrote:
>
>> I guess my point is that some things "feel" recursive and should be expressed 
>> recursively.  But some things "feel" iterative, and I don't see anything wrong 
>> with: 
>> 
>>  (loop for entry in some-list 
>>        for name = (person-name entry) 
>>        for age  = (person-age  entry) 
>>        collect (list name age))
>
> Abysmal.
>
> (map
>   (lambda (entry) (list (person-name entry) (person-age entry)))
>   some-list)

TXR Lisp:

(mapcar [juxt .name .age] person-list)

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca