aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Init/Datatypes.v
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-05-09 10:15:44 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2015-05-09 10:16:45 +0200
commit290ad7c57bff31492800a189581ee88d92d9121d (patch)
tree26900106d7e2d1dc6ec26955f669c11f6b0ee225 /theories/Init/Datatypes.v
parenta29c35cee2710540fc4e0465cfd2bc08835c12f8 (diff)
Tentatively setting cons and Some with 1st implicit argument maximal
(see #3695).
Diffstat (limited to 'theories/Init/Datatypes.v')
-rw-r--r--theories/Init/Datatypes.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/theories/Init/Datatypes.v b/theories/Init/Datatypes.v
index de615301d..aaffc0978 100644
--- a/theories/Init/Datatypes.v
+++ b/theories/Init/Datatypes.v
@@ -151,6 +151,7 @@ Inductive option (A:Type) : Type :=
| Some : A -> option A
| None : option A.
+Arguments Some {A} a.
Arguments None {A}.
Definition option_map (A B:Type) (f:A->B) (o : option A) : option B :=
@@ -225,6 +226,7 @@ Inductive list (A : Type) : Type :=
| cons : A -> list A -> list A.
Arguments nil {A}.
+Arguments cons {A} a l.
Infix "::" := cons (at level 60, right associativity) : list_scope.
Delimit Scope list_scope with list.
Bind Scope list_scope with list.