use a more consistent description of one function's docstring in mapcar-and-reduce.lsp?
JuanitoFatas opened this issue · comments
INCORRECT-FUNCTION-X
in Line 77 may change to WRONG-FUNCTION-X
to match the code below:
(define-test test-mapcar-and-reduce
"mapcar and reduce are a powerful combination.
insert the correct function names, instead of INCORRECT-FUNCTION-X
to define an inner product."
(defun inner (x y)
(reduce #'+ (mapcar #'* x y)))
(assert-equal 32 (inner '(1 2 3) '(4 5 6)))
(assert-equal 310 (inner '(10 20 30) '(4 3 7))))
fixed. Thanks again.