aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2016-10-27 13:54:22 -0400
committerGravatar Jason Gross <jgross@mit.edu>2016-10-27 13:54:22 -0400
commit72af7655d9227fcba3949a2a9d9e39d5116a568a (patch)
tree147e9e1e08e93f23c3d37681cc29288b511b2915 /src
parentea91bc54915b96f492e3c81a567d70900e1ddec9 (diff)
Make it easier to export only phoas notations
Diffstat (limited to 'src')
-rw-r--r--src/Reflection/Syntax.v8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Reflection/Syntax.v b/src/Reflection/Syntax.v
index ccdceb16f..af6ab3e20 100644
--- a/src/Reflection/Syntax.v
+++ b/src/Reflection/Syntax.v
@@ -273,6 +273,8 @@ Global Arguments interp {_ _ _} interp_op {t} _.
Global Arguments interpf {_ _ _} interp_op {t} _.
Global Arguments invert_Const {_ _ _ _ _} _.
-Notation "'slet' x := A 'in' b" := (LetIn A (fun x => b)) : expr_scope.
-Notation "'λ' x .. y , t" := (Abs (fun x => .. (Abs (fun y => t%expr)) ..)) : expr_scope.
-Notation "( x , y , .. , z )" := (Pair .. (Pair x%expr y%expr) .. z%expr) : expr_scope.
+Module Export Notations.
+ Notation "'slet' x := A 'in' b" := (LetIn A (fun x => b)) : expr_scope.
+ Notation "'λ' x .. y , t" := (Abs (fun x => .. (Abs (fun y => t%expr)) ..)) : expr_scope.
+ Notation "( x , y , .. , z )" := (Pair .. (Pair x%expr y%expr) .. z%expr) : expr_scope.
+End Notations.