Skip to content
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

[upstream] Automating the registration of serializers for generic arguments #761

Open
ejgallego opened this issue Nov 28, 2018 · 0 comments

Comments

@ejgallego
Copy link
Owner

ejgallego commented Nov 28, 2018

As witnessed by ejgallego/coq-serapi#68, we have a very important problem with the current situation of generic arguments in Coq. As of today, we need to add manually the serializers, which is cumbersome, and worse, won't fail until we find a generic argument we cannot handle.

Ideally we should add some support in Coq to notify SerAPI that a new generic argument has been defined, then SerAPI could look up its internal serializer table and register it.

Even better, it would be good if coqpp could generate some kind of boilerplate thus that we could be spared from writing the serializers manually, but this may have to wait for ppx_serlib to be ready tho.

List of times we got bitten by this problem: (started in May 2024, many more missing)

ejgallego referenced this issue in ejgallego/coq-serapi May 28, 2024
@ejgallego ejgallego transferred this issue from ejgallego/coq-serapi Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant