(reverse list)


Reverse that list.


This function reverses the order of the items in a list.

Examples

Code Returns
(setq v '("first" "second" "third")) (first second third)
(reverse v) (third second first)
(reverse '(1 2 3 4 5)) (5 4 3 2 1)

Tell me about...

(acad_strlsort list)

(last list)

(length list)

(listp item)

(setq symbol1 statement1 [symbol2 statement2] ...)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language