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

3.6 partialFunction practice has an incorrect test statement #39

Closed
boblinchuan opened this issue Sep 9, 2018 · 0 comments
Closed

3.6 partialFunction practice has an incorrect test statement #39

boblinchuan opened this issue Sep 9, 2018 · 0 comments

Comments

@boblinchuan
Copy link

partialFunc3 is composed of partialFunc2 (which is defined for i == 2), and partialFunc1 (which is defined for i == 1). Therefore, it partialFunc3 is fine for i == 1 and i == 2, but not i == 0. The current tutorial lists i == 1 as failing.

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

1 participant