-
Notifications
You must be signed in to change notification settings - Fork 57
ignoring-nils #38
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
Comments
danielcompton
added a commit
that referenced
this issue
Dec 6, 2018
Previously this would return nil if three or more arguments were provided and all were nil. Fixes #38
I've opened #39 to address this, but it is potentially a breaking change, so am weighing how to fix it. |
@danielcompton why would this be a breaking change? |
Because previously it would return nil in some cases and now it would return 0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
((ignoring-nils +) nil nil)
returns 0, but((ignoring-nils +) nil nil nil)
returns nil. Is this difference intentional? I figure they should both return 0.The text was updated successfully, but these errors were encountered: