Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Loop macro - why?

11 views
Skip to first unread message

Robert L.

unread,
Dec 9, 2017, 3:40:55 AM12/9/17
to
Don Geddis wrote

> I don't know about you, but it's _much_ easier for me to understand this
> oh-so-common idiom with the extended loop:
>
> (loop for x in *big-list*
> collect (1+ x) )

(map add1 '(200 300 400 500))

===>
(201 301 401 501)

--
67% ... of the graduate students at Harvard are Jews. 67%! That's an over
representation which is beyond human belief.
https://archive.org/details/Duke.20171124
http://archive.org/details/nolies
0 new messages