diff options
author | Jason Gross <jgross@mit.edu> | 2017-05-14 11:09:38 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-05-14 11:09:38 -0400 |
commit | f0aa1a484ecdc01c4aedd1a1ad75324619bc0456 (patch) | |
tree | b0b3cd29ec8549e7989e2439ec99e981f58ceeec /src/Util/Notations.v | |
parent | 9a3c43c13107b33ea7d109d23c83e81d414f84dd (diff) |
Allow specifying type in nlet
Diffstat (limited to 'src/Util/Notations.v')
-rw-r--r-- | src/Util/Notations.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Util/Notations.v b/src/Util/Notations.v index feffc0f4b..f6dc432b8 100644 --- a/src/Util/Notations.v +++ b/src/Util/Notations.v @@ -71,6 +71,8 @@ Reserved Notation "'plet' x := y 'in' z" (at level 200, z at level 200, format "'plet' x := y 'in' '//' z"). Reserved Notation "'nlet' x := A 'in' b" (at level 200, b at level 200, format "'nlet' x := A 'in' '//' b"). +Reserved Notation "'nlet' x : tx := A 'in' b" + (at level 200, b at level 200, format "'nlet' x : tx := A 'in' '//' b"). Reserved Notation "'slet' x .. y := A 'in' b" (at level 200, x binder, y binder, b at level 200, format "'slet' x .. y := A 'in' '//' b"). Reserved Notation "'llet' x := A 'in' b" |