From e0aab135237aaa9334afe9acc9b519bbe2b53ae9 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Mon, 13 Feb 2017 11:46:23 +0100 Subject: Replace "Implicit Arguments" with "Arguments" This silences a warning of Coq 8.6. Some "Implicit Arguments" remain in flocq/ but I'd rather not diverge from the released version of flocq if at all possible. --- lib/Axioms.v | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/Axioms.v') diff --git a/lib/Axioms.v b/lib/Axioms.v index 6ae8669a..fdc89920 100644 --- a/lib/Axioms.v +++ b/lib/Axioms.v @@ -39,15 +39,13 @@ Proof @FunctionalExtensionality.functional_extensionality. is an alias for [functional_extensionality]. *) Lemma extensionality: - forall (A B: Type) (f g : A -> B), (forall x, f x = g x) -> f = g. + forall {A B: Type} (f g : A -> B), (forall x, f x = g x) -> f = g. Proof @functional_extensionality. -Implicit Arguments extensionality. - (** * Proof irrelevance *) (** We also use proof irrelevance. *) Axiom proof_irr: ClassicalFacts.proof_irrelevance. -Implicit Arguments proof_irr. +Arguments proof_irr [A]. -- cgit