Sujet : Re: What to do with (time (length L)) proportional to (length L)
De : Nobody447095 (at) *nospam* here-nor-there.org (B. Pym)
Groupes : comp.lang.lisp comp.lang.schemeDate : 21. Sep 2024, 22:55:53
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vcnfd8$1oelo$1@dont-email.me>
References : 1
User-Agent : XanaNews/1.18.1.6
B. Pym wrote:
(loop for elem in some-list
collect (f4 (f3 (f2 (f1 elem)))))
(map (~> abs sqrt list) '(-4 -9 25))
===>
((2) (3) (5))
(map (~> abs sqrt list (append '(finished))) '(-4 -9 25))
===>
((2 finished) (3 finished) (5 finished))