[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.lisp

Re: mapcar, mapcar, mapcar... what about the others?

William James

10/22/2015 12:33:00 PM

David Sletten wrote:

> Of course for single lists, DOLIST is simpler. And while LOOP may be
> more verbose here, it's probably clearer too:
> (loop for field in fields
> for value in values
> do (xml-emitter:simple-tag field value))

Gauche Scheme:

(for-each
(lambda x (apply foo-bar x))
fields
values-1
values-2
values-3
values-4
values-5)

--
[W]e had enough employees who made more than 85 to fill all the openings. The
highest score that any of the blacks scored on the test was 11. The lowest
score that any black made on the test was 4. All four of those blacks went
into skilled-trades training.
https://archive.org/download/TheOldmanArchives/oldman29-...