coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: e AT x80.org (Emilio Jesús Gallego Arias)
- To: Talia Ringer <tringer AT cs.washington.edu>
- Cc: Coq-Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Plugins, type-checking, and universe constraints
- Date: Wed, 11 Apr 2018 17:18:10 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=e AT x80.org; spf=Pass smtp.mailfrom=e AT x80.org; spf=Pass smtp.helo=postmaster AT x80.org
- Ironport-phdr: 9a23:UQ8bHBeDulD2+Z6u+TAI7U5blGMj4u6mDksu8pMizoh2WeGdxcu/YB7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQds4YS2VcRMZcTyxPDJ2hYYsIAeoPM+RXoYrzqFQBsRSzHhWsCP/1xzNUmnP7x6833uI8Gg/GxgwgGNcOvWzKo9juO6YfUvy5wLPPzTXZYPNdxDPx5ofNchAgpfGMXLVwetfVx0YxDAPdlE6QopHkMTyP0uQNt3aU7+VnVemyl2MnsQBxrSK0xsspjITCm4Ebykjc+Clkw4s4Jse0RFBlbdOlCpdcqiOXO5ZsTs8/TWxkpj42x78EtJKhYSQHyJcqywTCZ/GEb4SE+AzvWemNLTp+mXlrYqiwhwyo/kil0uD8Vte70FJNriddndjBtWwB2wbU6sidRftx5kah2TCR2ADP8uxIPEM5mKnBJ5I/3LI9l4AfvVnBEyPrgkn6kaGbels89uit8evnY7HmppGGN49zjwHzKrohl9ewAOk7LgQCRW+b+f6z1LH75032XK1KjuEqkqneqJ3VOcMbpregDwBJ1oYj9g2wAiy90NUYmHkHNEhKdAiGj4jvIVHOIer3Ae2xg1S2w39XwKX6N7ngC933L37Mna2pKapn6khTxRAbxssZ+JtPCrAHL+70XAn8uMGOXTEjNAnhzs73WI070ZkRESKiB66dMaSak1KTdPlnDOCIYIIav37UMfks/L+93jcChVYBcPzxjtMsY3eiE6Ejeh3BOCu+spI6CW4P+zEGYqnvgVyGXyRUYifgT/JkoDYhB9D/VNuRdsWWmLWEmRyDMNhOfGkXWEDcSTHvbYrWA65ROhLXGddol3k/bZbkS4Il0kD8pF+ijb19IbiN9w==
- Organization: X80 Heavy Industries
Hello Talia,
Talia Ringer
<tringer AT cs.washington.edu>
writes:
> 1. A way to tell type-checking from within a plugin about the universe
> constraints so that it knows to solve them correctly, or
>
> 2. a way to tell type-checking from within a plugin to just assume all
> universe constraints go through, because this will always be true for me,
> and if it isn't, then the plugin will just fail later anyways
>
> I'm assuming #1 is the proper way to call type-checking from within a
> plugin, but I'm not sure how to do it.
So indeed as others have pointed out, the kernel won't infer constraints
for you anymore so you'll have to manually infer them [very cumbersome]
or call the type inference mechanism.
Coq devs are aware the universe-handling API could certainly take some
usability improvements, please, as an API user don't hesitate to share
thoughts or suggestions about it.
I think that the preferred interface these is to open an issue on
GitHub, but of course mailing list discussion is welcome too [however it
has the downside that, contrary to GH issues, it tends to be harder to
translate to concrete actionable plans].
Best,
E.
- [Coq-Club] Plugins, type-checking, and universe constraints, Talia Ringer, 04/10/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Sylvain Boulmé, 04/10/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Matthieu Sozeau, 04/10/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Emilio Jesús Gallego Arias, 04/11/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Talia Ringer, 04/13/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Théo Zimmermann, 04/13/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Sylvain Boulmé, 04/13/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Emilio Jesús Gallego Arias, 04/13/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Talia Ringer, 04/13/2018
- Re: [Coq-Club] Plugins, type-checking, and universe constraints, Sylvain Boulmé, 04/10/2018
Archive powered by MHonArc 2.6.18.