Robert Mathews <[EMAIL PROTECTED]> writes:

> Simon Cozens wrote:
> > (defun Schwartzian (func list)
> >   (mapcar
> >    (lambda (x) (car x))
> >    (sort
> >     (mapcar
> >      (lambda (x) (cons x (funcall func x)))
> >      list
> >      )
> >     (lambda (x y) (< (cdr x) (cdr y)))
> >     )
> >    )
> >   )
> > 
> > Maybe you'd prefer this:
> > 
> > defun Schwartzian func list mapcar lambda x car x sort mapcar
> > lambda x cons x funcall func x list lambda x y < cdr x cdr y
> > 
> > I know which I'd rather read.
> 
> Ok, you've proved that lisp doesn't make sense without all those
> annoying parentheses.  

You know, I'm trying to see what's annoying about all those
parentheses in the lisp function and what do you know, I can't see
anything wrong. Okay, so it's not Perl syntax, but it's still clear
what's going on.

Reply via email to