Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Life, loathe it or ignore it, you can't like it." -- Marvin the paranoid android


devel / comp.lang.lisp / .Re: ITERATE vs LOOP - Popular opinion observation?

SubjectAuthor
o .Re: ITERATE vs LOOP - Popular opinion observation?Robert L.

1
.Re: ITERATE vs LOOP - Popular opinion observation?

<svpp3b$1t2l$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16942&group=comp.lang.lisp#16942

  copy link   Newsgroups: comp.lang.lisp
Path: i2pn2.org!i2pn.org!news.swapon.de!aioe.org!Aq4XX57hRQ60RoBITV3gyg.user.46.165.242.75.POSTED!not-for-mail
From: No_spamming@noWhere_7073.org (Robert L.)
Newsgroups: comp.lang.lisp
Subject: .Re: ITERATE vs LOOP - Popular opinion observation?
Date: Thu, 3 Mar 2022 07:01:01 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <svpp3b$1t2l$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Injection-Info: gioia.aioe.org; logging-data="62549"; posting-host="Aq4XX57hRQ60RoBITV3gyg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: XanaNews/1.18.1.6
X-Notice: Filtered by postfilter v. 0.9.2
 by: Robert L. - Thu, 3 Mar 2022 07:01 UTC

Rob Warnock wrote:

> Pascal Costanza <pc@p-cos.net> wrote:
> +---------------
> | List comprehensions, or similar declarative abstractions, would address
> | them. Indeed that's how I try to use LOOP. When I say this:
> | (loop for elem in list
> | when (some-predicate elem)
> | collect elem)
> | ...I try not to understand this as an iteration, but as a declarative
> | expression of the result I want.
> +---------------
>
> And to my taste, that's *much* cleaner looking and
> more comprehensible [pardon the pun!] six months later
> than anything I can think of writing with MAPxxx.

(filter even? (range 22))
===>
'(0 2 4 6 8 10 12 14 16 18 20)


devel / comp.lang.lisp / .Re: ITERATE vs LOOP - Popular opinion observation?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor