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

11.7.2 Assignment #6. "the modules" not clear #42

Closed
kneoyskw opened this issue Sep 30, 2017 · 1 comment
Closed

11.7.2 Assignment #6. "the modules" not clear #42

kneoyskw opened this issue Sep 30, 2017 · 1 comment

Comments

@kneoyskw
Copy link
Contributor

On page 218 of the book, in the section
"11.7 Assignment: Higher-Order Functions and Lists"
It says "6. Implement map_mut; using it,
output the modules of the input numbers"
I am wondering what "the modules" mean.

@sayon
Copy link
Collaborator

sayon commented Sep 30, 2017

Sorry, it is a typo: I meant absolute values.

abs(x) = x if x >=0, -x if x < 0.

@sayon sayon closed this as completed Sep 30, 2017
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