Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a more consistent description of one function's docstring in mapcar-and-reduce.lsp? #6

Closed
JuanitoFatas opened this issue Jun 1, 2013 · 1 comment

Comments

@JuanitoFatas
Copy link
Contributor

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))))
@bileschi
Copy link
Member

bileschi commented Jun 1, 2013

fixed. Thanks again.

@bileschi bileschi closed this as completed Jun 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants