summaryrefslogtreecommitdiff
path: root/src/rewriter.mli
diff options
context:
space:
mode:
Diffstat (limited to 'src/rewriter.mli')
-rw-r--r--src/rewriter.mli6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rewriter.mli b/src/rewriter.mli
index 85f00453..f61bcc66 100644
--- a/src/rewriter.mli
+++ b/src/rewriter.mli
@@ -231,9 +231,11 @@ val pure_exp_alg : 'b -> ('b -> 'b -> 'b) ->
val simple_annot : Parse_ast.l -> typ -> Parse_ast.l * tannot
-val add_p_typ : typ -> tannot pat -> tannot pat
+val add_p_typ : Env.t -> typ -> 'a pat -> 'a pat
-val add_e_cast : typ -> tannot exp -> tannot exp
+val add_e_cast : Env.t -> typ -> 'a exp -> 'a exp
+
+val add_typs_let : Env.t -> typ -> typ -> 'a exp -> 'a exp
val effect_of_pexp : tannot pexp -> effect