-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Revise zero
and define zerounit
?
#24853
Comments
Related: #24595 :). |
But |
You can always do |
The asymmetry and minor ambiguity in |
I was mainly noting the style inconsistency. My ideal world would have |
(Partly summarising from slack:) Note that |
Post scriptum: I think this could be closed in favour of #22216 |
But a "unitless" zero is only meaningful when you have multiplication, in which case you should have |
This is not related to units, but from a purely abstract point of view:
Assuming I do not think |
I would differentiate that |
I don't think that theorem is true. Try with a |
|
If I can ask a concrete-algebra question, what would you do with the absorbing element of a type? I can only imagine using it to multiply an instance of the type. y = zeronounit(x) * x but in that case you might as well just do y = zero(x) |
We may want to revise
zero
to match howone
works. This would also mean we would need to create azerounit
.The text was updated successfully, but these errors were encountered: