Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Stay away from flying saucers today.


comp / comp.lang.lisp / Re: Beginner question on destructuring bind

SubjectAuthor
* Re: Beginner question on destructuring bindB. Pym
`- Re: Beginner question on destructuring bindLawrence D'Oliveiro

1
Subject: Re: Beginner question on destructuring bind
From: B. Pym
Newsgroups: comp.lang.lisp
Organization: A noiseless patient Spider
Date: Wed, 7 Aug 2024 08:01 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Nobody447095@here-nor-there.org (B. Pym)
Newsgroups: comp.lang.lisp
Subject: Re: Beginner question on destructuring bind
Date: Wed, 7 Aug 2024 08:01:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <v8v9l2$2fcev$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Injection-Date: Wed, 07 Aug 2024 10:01:40 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3618421e7cf17a9fd6ff329509e3098e";
logging-data="2601439"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18n4zleMgaRMSqf7G0LngoN"
User-Agent: XanaNews/1.18.1.6
Cancel-Lock: sha1:pBzZ7isA38lQUBHE/9BUhosTK10=
View all headers

His Kennyness wrote:

> you got the wrong language

That ought to be: "you have got the wrong language".
Worshippers of CL (COBOL-Like) and LOOP have very poor
language skills.

> you should learn loop

Worshippers of CL (COBOL-Like) have no affinity for Lispy
programming, so they are irresistibly drawn to the feculence
of LOOP as a fly is drawn to a turd.

Here's an example:

Kenny Tilton wrote:

> btw, I believe the thing that got me to look at loop was that it
> provides efficiency for free, which is rare in cheats:
>
> (loop for x in them
> when (yada x)
> collect x)
>
> vs:
>
> (let (out)
> (dolist (x them (nreverse out))
> (when (yada x) (push x out)
>
> If I had learned Lisp from PCL I would have grown up with loop as a
> native sub-language and not gone seven years without it.

newLISP:

(filter yada them)

Example:

(filter odd? (sequence 0 22))

(1 3 5 7 9 11 13 15 17 19 21)

(clean odd? (sequence 0 22))

(0 2 4 6 8 10 12 14 16 18 20 22)

Subject: Re: Beginner question on destructuring bind
From: Lawrence D'Oliv
Newsgroups: comp.lang.lisp
Organization: A noiseless patient Spider
Date: Wed, 7 Aug 2024 08:57 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.lisp
Subject: Re: Beginner question on destructuring bind
Date: Wed, 7 Aug 2024 08:57:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <v8vcua$2j401$2@dont-email.me>
References: <v8v9l2$2fcev$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 07 Aug 2024 10:57:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8e0bcc1e6c667f299b1c29714d183294";
logging-data="2723841"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fRRpEww7yFfpCQ4Lqnm74"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:MfEVWxJhKgqJ3z9EQskjaBtbECg=
View all headers

On Wed, 7 Aug 2024 08:01:39 -0000 (UTC), B. Pym wrote:

> His Kennyness wrote:
>
>> you got the wrong language
>
> That ought to be: "you have got the wrong language".

You got to be kucking fidding.

1

rocksolid light 0.9.8
clearnet tor