Well, the flawed function is as follows:
(defun make-matrix (n)
(make-array (n n) :initial-element 0))
I want to use functions like (make-matrix 8)
to replace the longer (make-array '(8 8) :initial-element 0)
, but CLISP says there is a fault in (n n)
, because n
is not a defined function. How do I write this make-matrix
function?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…