aboutsummaryrefslogtreecommitdiff
path: root/src/Util/Notations.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jasongross9@gmail.com>2016-09-19 12:04:56 -0700
committerGravatar GitHub <noreply@github.com>2016-09-19 12:04:56 -0700
commit8e448c450e98a99f074599f0ffe8f1b48db2df14 (patch)
treed7db90c4b3193c3a915d954f9bb374c9213bdedd /src/Util/Notations.v
parentb6b4e91f9c957b5febc8c18de5228852758bede5 (diff)
Change [Let ... in ...] to [dlet ... in ...] (#67)
For "definition". This fixes #65; [Let] conflicts with the vernacular [Let] in Coq 8.4.
Diffstat (limited to 'src/Util/Notations.v')
-rw-r--r--src/Util/Notations.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Util/Notations.v b/src/Util/Notations.v
index 1c21a6cf8..22ddf854c 100644
--- a/src/Util/Notations.v
+++ b/src/Util/Notations.v
@@ -63,7 +63,8 @@ Reserved Notation "'plet' x := y 'in' z"
(at level 200, z at level 200, format "'plet' x := y 'in' '//' z").
Reserved Notation "'slet' x := A 'in' b"
(at level 200, b at level 200, format "'slet' x := A 'in' '//' b").
-Reserved Notation "'Let' x := y 'in' f"
- (at level 200, f at level 200, format "'Let' x := y 'in' '//' f").
+(* Note that making [Let] a keyword breaks the vernacular [Let] in Coq 8.4 *)
+Reserved Notation "'dlet' x := y 'in' f"
+ (at level 200, f at level 200, format "'dlet' x := y 'in' '//' f").
Reserved Notation "'λ' x .. y , t" (at level 200, x binder, y binder, right associativity).
Reserved Notation "'λn' x .. y , t" (at level 200, right associativity).