summaryrefslogtreecommitdiff
path: root/src/rewriter.mli
diff options
context:
space:
mode:
authorBrian Campbell2017-10-23 16:01:38 +0100
committerBrian Campbell2017-10-23 16:01:38 +0100
commitfd21c0ca241418775d905184a6d619ddb11cafa3 (patch)
tree8ac787347b4f7942424d0d1db2722c9b493c5422 /src/rewriter.mli
parentf96323c57a1a1c1d6f11f2c85c9bb88c4de92ee8 (diff)
parent74b6c74b7407f7141796cb109c750f86659d1d2d (diff)
Merge branch 'experiments' into mono-experiments
Diffstat (limited to 'src/rewriter.mli')
-rw-r--r--src/rewriter.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rewriter.mli b/src/rewriter.mli
index 1c3e8fae..73337de4 100644
--- a/src/rewriter.mli
+++ b/src/rewriter.mli
@@ -56,9 +56,12 @@ type 'a rewriters = { rewrite_exp : 'a rewriters -> 'a exp -> 'a exp;
val rewrite_exp : tannot rewriters -> tannot exp -> tannot exp
val rewrite_defs : tannot defs -> tannot defs
+val rewrite_undefined : tannot defs -> tannot defs
val rewrite_defs_ocaml : (string * (tannot defs -> tannot defs)) list (*Perform rewrites to exclude AST nodes not supported for ocaml out*)
val rewrite_defs_lem : (string * (tannot defs -> tannot defs)) list (*Perform rewrites to exclude AST nodes not supported for lem out*)
+val simple_typ : typ -> typ
+
(* the type of interpretations of pattern-matching expressions *)
type ('a,'pat,'pat_aux,'fpat,'fpat_aux) pat_alg =
{ p_lit : lit -> 'pat_aux