coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan Leivent <jonikelee AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: [Coq-Club] question about Existing Class
- Date: Wed, 29 Jun 2016 11:33:17 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f169.google.com
- Ironport-phdr: 9a23:+gIJsxImGvsdtd/XNtmcpTZWNBhigK39O0sv0rFitYgULPrxwZ3uMQTl6Ol3ixeRBMOAuqoC0red4/uocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+kQsiL0o/njKibwN76W01wnj2zYLd/fl2djD76kY0ou7ZkMbs70RDTo3FFKKx8zGJsIk+PzV6nvp/jtLYqySlbuuog+shcSu26Ov1gFf0LRAghZksy/YXAsQTJBV+E4WJZWWELmDJJBRLE5Vf0RMGinDH9s79f3y+TIc3/S/gQVDW84qF3AEvqjyEGNDM9/Wz/hcl5jaYdqxWk8U8si7XIaZ2YYaItNpjWeskXEC8YBp5c
I just debugged an infinite loop in typeclass eauto that was apparently due to Existing Class causing instances created afterwards to become Existing Instances, even if not explicitly declared as such. I had declared "Existing Class eq", and really only wanted a very few cases of eq to be considered instances, but some later equalities automagically became instances (I can see them via Print Hints in the typeclass_instances db).
First of all - is this a feature or a bug? Secondly, if a feature, is there a way to turn it off, at least for particular Classes?
-- Jonathan
- [Coq-Club] question about Existing Class, Jonathan Leivent, 06/29/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/29/2016
- Re: [Coq-Club] question about Existing Class, Matthieu Sozeau, 06/29/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/29/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/30/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/30/2016
- Re: [Coq-Club] question about Existing Class, Jason Gross, 06/30/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/30/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/30/2016
- Re: [Coq-Club] question about Existing Class, Jason Gross, 06/30/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/30/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/30/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/29/2016
- Re: [Coq-Club] question about Existing Class, Matthieu Sozeau, 06/29/2016
- Re: [Coq-Club] question about Existing Class, Jonathan Leivent, 06/29/2016
Archive powered by MHonArc 2.6.18.