-
Notifications
You must be signed in to change notification settings - Fork 47
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
new factory for algebra of sets #1251
Conversation
739db8d
to
d8fc1ad
Compare
|
d8fc1ad
to
f62809c
Compare
f62809c
to
7310a67
Compare
Despite the fact that symmetric difference is not yet exploited seriously, this PR already went through several eyes and since there is no disagreement we might as well merge it soon. |
@t6s ping ? |
7310a67
to
b64be64
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding the symmetric difference will be useful, but the choice of laws looks a bit random. What about calling the symmetric difference "add?", ? being some appropriate letter for sets, and provide the ring laws? (mul = setI, opp = idfun)
setdiffA, setdiffC, set0diff, setdiff0, set1diff, setdiff1, setdiffBAC, etc. might be better? But I am not sure how to handle names like mul?Dl . |
Co-authored-by: @JeremyDubut Co-authored-by: @AkihisaYamada
Co-authored-by: Takafumi Saikawa <[email protected]>
what about |
b64be64
to
9ef13c2
Compare
What about the last commit 9ef13c2 ?
|
Looks good. The conflict with finset in the naming for direct products is fearsome, but I believe that that is already discussed when setM was introduced. |
I cannot figure out how to approve this PR from the Android GitHub app. |
Let us ping @CohenCyril on that. |
As @t6s noted, In order to avoid clashes when we re-unify, why not use |
setY seems to be nice; I do not come up with any common set operation beginning with "y" :) What about doing a renaming PR? @affeldt-aist |
Co-authored-by: @JeremyDubut
Co-authored-by: @AkihisaYamada
Motivation for this change
Checklist
CHANGELOG_UNRELEASED.md
- [ ] added corresponding documentation in the headersReference: How to document
Reminder to reviewers