lisp related (33)

2 Name: dmpk2k!hinhT6kz2E : 2007-07-12 00:13 ID:Heaven

I think you have the braces a bit mixed up. Try this:

(let (a (list 4 8 2 7 9)) 
(sort a #'>))

4 Name: dmpk2k!hinhT6kz2E : 2007-07-12 03:13 ID:Heaven

I think I got >>2 wrong. I don't have a CL or Scheme install here. This is (probably) better:

(let ((x '(4 8 2 7 9))) 
(sort a #'>))
This thread has been closed. You cannot post in this thread any longer.