Deutsch   English   Français   Italiano  
<v69o3k$3enaf$1@dont-email.me>

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

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "B. Pym" <No_spamming@noWhere_7073.org>
Newsgroups: comp.lang.lisp
Subject: Re: distinction?
Date: Fri, 5 Jul 2024 21:21:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <v69o3k$3enaf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Injection-Date: Fri, 05 Jul 2024 23:21:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="40a3200374f17ef88ea3af0f210681e4";
	logging-data="3628367"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18sPvKPjzFARJNGd9x/wOuj"
User-Agent: XanaNews/1.18.1.6
Cancel-Lock: sha1:6QGRZtD2bXqA0ZE3fz+bSQ3bMd8=
Bytes: 1301

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)