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
Instances for empty type. #393
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.
LGTM
Hi @arthuraa, thanks for your contribution! Regarding your question:
I think you should add a header to mathcomp's ssrfun, since you introduced the notation here. This is what happens, e.g., in file ssreflect.v. I will merge as soon as you add this documentation. |
@amahboubi Sounds good! How does this look? |
It looks great. |
Oh, but if you add something to the local |
@CohenCyril Just did: coq/coq#10932. |
@CohenCyril, the PR has been merged in Coq. Anything else you would like @arthuraa to do before we merge? |
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.
@amahboubi nothing more, LGTM, we can merge
Motivation for this change
Several users have expressed their wish for an empty type in mathcomp (e.g. #225). This PR adds a
void
notation for theEmpty_set
type of the standard library, along with instances of basic classes.Things done/to do
CHANGELOG_UNRELEASED.md
The documentation already existed in
eqtype
. I have added a note infintype
, but leftchoice
alone since the instance list there was not exhaustive.The notation is defined in
ssrfun
. Since most of this file lives in the Coq source now, I did not add a corresponding entry there. Would it make sense to do so?Automatic note to reviewers
Read this Checklist and make sure there is a milestone.