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
[Merged by Bors] - feat(Set): API for subset restriction and coercion to/from subtypes #9940
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.
I'll try to take a look later, but I just want to register my opinion that I think this notation is a neat idea.
Style note: I see a lot of places with an extra space character, like in x ∈ (↑D : Set α)
for example. I wish we had an autoformatter for you, but you'll have to go through and find these.
I gave some minor style comments. There are also some inconsistent white spaces, which we can deal with at the end. I merged master into this so I can test it on my recent commit; hope you don't mind. |
Just tested it out. This is great and will make dealing with subtypes far less painful. For my use case, I need this API to also work with closure and continuity. I'd be happy to build on your work to make this happen if you don't plan on implementing these features. |
Ping @kmill @eric-wieser |
Thanks! Creating a new notation for a new concept is a difficult first PR (or really any PR), but I think this is now in a good enough of a state to merge. bors r+ |
…9940) Api for subset restriction and coercion to/from subtypes Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Kyle Miller <kmill31415@gmail.com> Co-authored-by: mmarco <mmarco@kali> Co-authored-by: Winston Yin <winstonyin@gmail.com>
Pull request successfully merged into master. Build succeeded: |
…9940) Api for subset restriction and coercion to/from subtypes Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Kyle Miller <kmill31415@gmail.com> Co-authored-by: mmarco <mmarco@kali> Co-authored-by: Winston Yin <winstonyin@gmail.com>
…9940) Api for subset restriction and coercion to/from subtypes Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Kyle Miller <kmill31415@gmail.com> Co-authored-by: mmarco <mmarco@kali> Co-authored-by: Winston Yin <winstonyin@gmail.com>
…9940) Api for subset restriction and coercion to/from subtypes Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Kyle Miller <kmill31415@gmail.com> Co-authored-by: mmarco <mmarco@kali> Co-authored-by: Winston Yin <winstonyin@gmail.com>
…9940) Api for subset restriction and coercion to/from subtypes Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Miguel Marco <mmarco@unizar.es> Co-authored-by: Kyle Miller <kmill31415@gmail.com> Co-authored-by: mmarco <mmarco@kali> Co-authored-by: Winston Yin <winstonyin@gmail.com>
Api for subset restriction and coercion to/from subtypes
Co-authored-by: Miguel Marco mmarco@unizar.es