[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.lisp

Re: VERY strange behaviour with Clisp

William James

7/26/2015 11:27:00 AM

Adam Warner wrote:

> Improving your original code:
>
> (loop for (a b) in '((1 2) (3 4) (5 6))
> do (format t "~A : ~A~%" a b))

Gauche Scheme:

(dolist (x '((1 2) (3 4) (5 6)))
(apply format #t "~a : ~a\n" x))

===>
1 : 2
3 : 4
5 : 6

--
I would hesitate to describe America as a nation at all in 1997, because it is
something very different: a polyethnic federation administered by a single
ruling class.... [T]he accumulated rot in America has now reached a point
where the pillars of society itself are failing. --- Ambrose Evans-Pritchard