lisp related (33)

1 Name: #!/usr/bin/anonymous : 2007-07-11 21:05 ID:ierxpXZU

i'm trying to do something really basic in Lisp
i want to sort a list, yep that's about it.
that's what i'm trying:

[code]((let a (list 4 8 2 7 9)) (sort a #'>))[/code]

and i get this error
[code]
*** - EVAL: (LET A (LIST 4 8 2 7 9)) is not a function name; try using a

  symbol instead

The following restarts are available:
USE-VALUE :R1 You may input a value to be used instead.
ABORT :R2 ABORT
[/code]
help..

This thread has been closed. You cannot post in this thread any longer.