diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2017-02-13 11:46:23 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2017-02-13 13:49:06 +0100 |
commit | e0aab135237aaa9334afe9acc9b519bbe2b53ae9 (patch) | |
tree | a0fced5f8e0affa13df1712a07958be223e12ade /lib | |
parent | 3bd82b3cb10a721f2e2c8db6d0271c83a22095a3 (diff) | |
download | compcert-e0aab135237aaa9334afe9acc9b519bbe2b53ae9.tar.gz compcert-e0aab135237aaa9334afe9acc9b519bbe2b53ae9.zip |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Axioms.v | 6 | ||||
-rw-r--r-- | lib/Maps.v | 4 |
2 files changed, 4 insertions, 6 deletions
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]. @@ -190,8 +190,8 @@ Module PTree <: TREE. | Leaf : tree A | Node : tree A -> option A -> tree A -> tree A. - Implicit Arguments Leaf [A]. - Implicit Arguments Node [A]. + Arguments Leaf [A]. + Arguments Node [A]. Scheme tree_ind := Induction for tree Sort Prop. Definition t := tree. |