PEP0238 lament

Michael Abbott michael.g.abbott at ntlworld.com
Tue Jul 24 12:37:49 EDT 2001


Paul Foley <see at below> wrote in news:m2puaqh6t2.fsf at mycroft.actrix.gen.nz:

> On Mon, 23 Jul 2001 23:23:34 +0100, Stephen Horne wrote:
>> As the saying goes, Lotsof-Infuriatingly-Stupid-Parentheses.
> 
> Lisp doesn't have any parentheses.  You must be thinking of Scheme.

Huh?
    	(defun list-reverse (list)
    	    (do ((x list (cdr x))
    	         (y '() (cons (car x) y)))
    	        ((endp x) y)))

(Steele, "Common Lisp, The Language")

Looks like lots of parentheses to me.



More information about the Python-list mailing list