I define square and sum-of-squares as:
(defun square(x)
(* x x))
(defun sum-of-squares (x y)
(+ (square x) (square y)))
then apply it an array with reduce:
(reduce 'sum-of-squares '(2 2 2))
but get result as 68 rather than 12.
What's the problem?