diff options
author | Matthieu Sozeau <matthieu.sozeau@inria.fr> | 2014-09-09 22:39:15 +0200 |
---|---|---|
committer | Matthieu Sozeau <matthieu.sozeau@inria.fr> | 2014-09-09 22:53:59 +0200 |
commit | 0dd3f0d34873dcd126be8ec48724a310214f38ac (patch) | |
tree | ccb5c83cba1db777681e8ecb7251dc486b3f2044 /theories/Init/Datatypes.v | |
parent | e365fb8ffbbc62352a725de13cbf864b3fbb3840 (diff) |
- Fix printing and parsing of primitive projections, including the Set
Printing All cases (bug #3597).
- Fix Ltac matching with primitive projections (bug #3598).
- Spotted a problem with printing of constants with maximally implicit
arguments due to strange "compatibility" interpretation of Arguments [X]
as Arguments {X} but didn't fix it entirely yet (might cause incompatibilities).
Diffstat (limited to 'theories/Init/Datatypes.v')
-rw-r--r-- | theories/Init/Datatypes.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/Init/Datatypes.v b/theories/Init/Datatypes.v index c8d18f766..093a2c140 100644 --- a/theories/Init/Datatypes.v +++ b/theories/Init/Datatypes.v @@ -151,7 +151,7 @@ Inductive option (A:Type) : Type := | Some : A -> option A | None : option A. -Arguments None [A]. +Arguments None {A}. Definition option_map (A B:Type) (f:A->B) (o : option A) : option B := match o with @@ -224,7 +224,7 @@ Inductive list (A : Type) : Type := | nil : list A | cons : A -> list A -> list A. -Arguments nil [A]. +Arguments nil {A}. Infix "::" := cons (at level 60, right associativity) : list_scope. Delimit Scope list_scope with list. Bind Scope list_scope with list. |