Can anyone tell me what I'm doing wrong here:
; in: LAMBDA NIL
; (NREVERSE X)
;
; caught WARNING:
; Destructive function NREVERSE called on constant data.

(let* ((x '(1 2 3 4 5))
(y))
(setf y (nreverse x)))
I just want to set one variable as the reverse list of the other but i get the following error:; in: LAMBDA NIL
; (NREVERSE X)
;
; caught WARNING:
; Destructive function NREVERSE called on constant data.