-
Notifications
You must be signed in to change notification settings - Fork 247
Add/fix RightInverse for dependent products #2706
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
Conversation
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.
Looks great to me - but needs a CHANGELOG entry.
@cspollard this looks fine to me, modulo:
So I think a slightly more conservative, but backwards compatible (and hence mergeable now), version, would be to reinsert Separately, and as a different solution to the problem, but one moreover future-proofed for your other suggestion about a 'real'
The rationale for this is that for all of our other CamelCase The only contra argument to the above would be if we could somehow weaken the restriction to |
Regarding the possible conflict:
|
Hi @jamesmckinna @JacquesCarette , Thanks for the careful review. Here's what I have done:
Please let me know if you see any other worthwhile changes! I leave other updates for a future PR. |
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.
CHANGELOG
entries need fixing, and one or two other nitpicks, but otherwise looks great!
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.
One last typo, but otherwise looks great! Thanks!
@JacquesCarette I'll set it to |
Ugh! I was too hasty in setting to |
Hi @jamesmckinna sorry I missed it: what was the last typo? |
This PR contains two changes:
Σ-↪
, which is dual toΣ-↩
left-inverse
toright-inverse
atsrc/Data/Product/Function/Dependent/Setoid.agda
: as far as I can tell, this was a typo.If there's interest, I could try to add a
left-inverse
dual toright-inverse
in a similar way to what has been done forPropositionalEquality
.@jamesmckinna points out that this may be in conflict with #2583 . Since the PR here is rather small, it probably could be added after that one is merged -- I didn't look at what would be required.
(also: will make changes to
ChangeLog
if it's agreed this should be merged.)