aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2018-02-18 15:45:16 -0500
committerGravatar Jason Gross <jgross@mit.edu>2018-02-18 15:45:16 -0500
commit7b84df346c6a56b1b51cce73078411767122caa4 (patch)
tree6c2dbef92daf34aca1347053af0e838d0ccc26a4 /src
parent6ad369b1c322c7edc249521149a45b433bc9018e (diff)
Add notations for type reification
Diffstat (limited to 'src')
-rw-r--r--src/Experiments/SimplyTypedArithmetic.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Experiments/SimplyTypedArithmetic.v b/src/Experiments/SimplyTypedArithmetic.v
index 44beaa3ee..c033b4c88 100644
--- a/src/Experiments/SimplyTypedArithmetic.v
+++ b/src/Experiments/SimplyTypedArithmetic.v
@@ -329,6 +329,9 @@ Module Compilers.
constr:(type_primitive rt)
end.
+ Notation reify t := (ltac:(let rt := reify t in exact rt)) (only parsing).
+ Notation reify_type_of e := (reify ((fun t (_ : t) => t) _ e)) (only parsing).
+
Module Export Notations.
Export Coercions.
Delimit Scope ctype_scope with ctype.