Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

A tall, dark stranger will have more fun than you.


comp / comp.lang.lisp / Re: All paths through a tree

SubjectAuthor
o Re: All paths through a treeB. Pym

1
Subject: Re: All paths through a tree
From: B. Pym
Newsgroups: comp.lang.lisp
Organization: A noiseless patient Spider
Date: Thu, 20 Jun 2024 02:35 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: No_spamming@noWhere_7073.org (B. Pym)
Newsgroups: comp.lang.lisp
Subject: Re: All paths through a tree
Date: Thu, 20 Jun 2024 02:35:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <v504hg$2cnil$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Injection-Date: Thu, 20 Jun 2024 04:35:32 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8f82dde4e259cf8153f9df179e434e52";
logging-data="2514517"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/66A0PR8mpYQLgpHbyIgrD"
User-Agent: XanaNews/1.18.1.6
Cancel-Lock: sha1:vuigrJl8+5GAhXJ+WksOeBpJBZY=
View all headers

Pascal Bourguignon wrote:

> When you have a vector, that is a repeatition of items of some kind,
> the procedure processing it will be a repeating loop:
>
> (defun process-vector (v)
> (loop :for i :from 0 :below (length v)
> :do (process-item (aref v i))))

Gauche Scheme

(vector-for-each print '#(a b c))

===>
a b
c

1

rocksolid light 0.9.8
clearnet tor