aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2003-04-10 21:58:03 +0000
committerherbelin2003-04-10 21:58:03 +0000
commit2e99233471ed95278188b0a3a5d82a95006e2e22 (patch)
treee1ac18d3d388c36f7190274a1599a15e1c4a87b2
parent1049f6f52d311e74e22faed61e57f8c7ac3e1c25 (diff)
Calcul automatique de l'implicite de nil pour que l'affichage sache le traiter
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3911 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--theories/Lists/PolyList.v4
1 files changed, 3 insertions, 1 deletions
diff --git a/theories/Lists/PolyList.v b/theories/Lists/PolyList.v
index 8a5e0421a0..cdc0f36553 100644
--- a/theories/Lists/PolyList.v
+++ b/theories/Lists/PolyList.v
@@ -16,9 +16,12 @@ Section Lists.
Variable A : Set.
Set Implicit Arguments.
+Set Contextual Implicits.
Inductive list : Set := nil : list | cons : A -> list -> list.
+Unset Contextual Implicits.
+
(*************************)
(** Discrimination *)
(*************************)
@@ -547,7 +550,6 @@ End Reverse_Induction.
End Lists.
-Implicits nil [1].
V7only [Implicits nil [].].
Hints Resolve nil_cons app_nil_end ass_app app_ass : datatypes v62.