-
Notifications
You must be signed in to change notification settings - Fork 18
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
Make use of the opposite category to automatically generate code for opposite derivations #1078
Comments
As far as I can tell, nothing significant is blocking this, see https://github.com/zickgraf/CAP_project/tree/opposite_derivations for a demo. One has to:
|
This would also fix #917. |
For CAP this is done in #1468. The system could easily be extended to more cases (e.g. include derivations including multiple categories), final derivations, and other packages. |
Excellent. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As discussed with Fabian it would be desirable to write half of the derivations and automatically generate the opposite versions using
CompilerForCAP
and the current infrastructure.Background: I have written code to derive finite limits from products and binary equalizers and I would like to generate the code for colimits automatically. The current code for finite colimits calls the category constructor
Opposite
inside the derivations which is a hack.The text was updated successfully, but these errors were encountered: