(defun manhatten-distance (state)
(let ((index 0)
(total 0)
(current 0)
(cvalue 0)
(rvalue 0))
(loop for i from 0 to 8 do
((setf current (nth i state))))))
SYSTEM::%EXPAND-FORM: (SETF CURRENT (NTH I STATE)) should be a lambda expression
[Condition of type SYSTEM::SIMPLE-SOURCE-PROGRAM-ERROR]
Why am I getting this error?