-
Notifications
You must be signed in to change notification settings - Fork 0
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
It would be nice if inductives stored their types #17
Comments
Looks like a good wish. |
I was hoping to port the paramcoq plugin to template-coq. In order to accomplish that, I would like to extend the wish to include full reification and reflection of inductive definitions. The reification should contain enough information so that we get the same (except names changes to avoid the clash of constructor names) inductive type on reflecting it back. |
This information is now available, but not really integrated with everything. |
Is this information (parameters and indices of (co)inductives) available somewhere while quoting? In my PR, I only made the datatypes and implemented unquoting |
That is, it would be nice to be able to tell the difference between these three types:
The reason for this is that I'd like to be able to list all of the inductives in a context, for typechecking, so I don't need to special-case the inductive types that I want to have around.
The text was updated successfully, but these errors were encountered: