aboutsummaryrefslogtreecommitdiff
path: root/plugins/syntax/int63_syntax.ml
diff options
context:
space:
mode:
authorPierre Roux2020-09-03 13:11:00 +0200
committerPierre Roux2020-11-04 20:14:47 +0100
commitdfcb15141a19db4f1cc61c14d1cdad0275009356 (patch)
tree397fe74273788ff980fe564fa2e812cd004ff847 /plugins/syntax/int63_syntax.ml
parent3f04bd0a74575d93b2a5c1dfff2bd5a364bfac59 (diff)
[numeral notation] Add a pre/postprocessing
This will enable to define numeral notation on non inductive by using an inductive type as proxy and those translations to translate to/from the actual type to the inductive type.
Diffstat (limited to 'plugins/syntax/int63_syntax.ml')
-rw-r--r--plugins/syntax/int63_syntax.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/syntax/int63_syntax.ml b/plugins/syntax/int63_syntax.ml
index 73a9341145..b14b02f3bb 100644
--- a/plugins/syntax/int63_syntax.ml
+++ b/plugins/syntax/int63_syntax.ml
@@ -43,6 +43,7 @@ let _ =
let id_int63 = Nametab.locate q_id_int63 in
let o = { to_kind = Int63, Direct;
to_ty = id_int63;
+ to_post = [||];
of_kind = Int63, Direct;
of_ty = id_int63;
ty_name = q_int63;