coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: RE: [Coq-Club] Easy question re: implicit parameters
- Date: Mon, 18 Sep 2017 10:24:44 +0000
- Accept-language: de-DE, en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=michael.soegtrop AT intel.com; spf=Pass smtp.mailfrom=michael.soegtrop AT intel.com; spf=None smtp.helo=postmaster AT mga14.intel.com
- Dlp-product: dlpe-windows
- Dlp-reaction: no-action
- Dlp-version: 11.0.0.116
- Ironport-phdr: 9a23:FHbMKxwRYpD9FSrXCy+O+j09IxM/srCxBDY+r6Qd0uMXIJqq85mqBkHD//Il1AaPBtqLra8cw8Pt8IneGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2NBXupSj45jkLXx77KABdJ+LvG4eUgd79n7S5/ISWaAFVjhK8Z6lzJVO4t1OCmNMRhN4oEaE8xQfTpWMMM8FXzmNhKFbZ10L558yw9ZNntT9Xtv097clYeaT8Y6k8C7dfCWJ1YCgO+MT3uEybHkO07XwGXzBOnw==
Dear Guillaume, Maxime,
I thought about the implicit argument definitions in the standard library
once more and came to the conclusion that (except for type class cases as
mentioned by Ralf Jung) it might make more sense to switch to maximally
inserted definitions right away and provide a compatibility layer with
argument declarations for code which needs it. Something like:
Inductive sig {A:Type} (P:A -> Prop) : Type :=
exist : forall x:A, P x -> sig P.
And in a separate compatibility file only used by legacy code which requires
it:
Arguments sig [A] P.
Arguments exist [A] P.
So for removing "Set Implicit Arguments" the [] syntax suggested by Maxime
wouldn't be required, but Ralf's argument around type class arguments is
anyway much stronger.
What do you think about such a compatibility layer, and a legacy
compatibility layer for the standard library in general? As far as I can tell
this is already done in some places but not always nicely documented and
sometimes not in separate files.
Best regards,
Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
- Re: [Coq-Club] Easy question re: implicit parameters, (continued)
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Jason Gross, 09/16/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/18/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/18/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/18/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/18/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Ralf Jung, 09/16/2017
Archive powered by MHonArc 2.6.18.