summaryrefslogtreecommitdiff
path: root/src/rewriter.mli
diff options
context:
space:
mode:
authorBrian Campbell2018-05-04 16:13:06 +0100
committerBrian Campbell2018-05-04 16:13:06 +0100
commit664a78f7517ecf93ee1694784819cfa1ee894b80 (patch)
tree1a32d42305a829762862cc146543b58c879ce9ac /src/rewriter.mli
parent09bfbe239b1b5d8627f84a8115cfaf9f83114ba5 (diff)
Add support for top-level values to monomorphisation singleton rewrite
Diffstat (limited to 'src/rewriter.mli')
-rw-r--r--src/rewriter.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rewriter.mli b/src/rewriter.mli
index cdacf222..6e9f08c2 100644
--- a/src/rewriter.mli
+++ b/src/rewriter.mli
@@ -181,6 +181,10 @@ val fold_exp : ('a,'exp,'exp_aux,'lexp,'lexp_aux,'fexp,'fexp_aux,'fexps,'fexps_a
'opt_default_aux,'opt_default,'pexp,'pexp_aux,'letbind_aux,'letbind,
'pat,'pat_aux,'fpat,'fpat_aux) exp_alg -> 'a exp -> 'exp
+val fold_letbind : ('a,'exp,'exp_aux,'lexp,'lexp_aux,'fexp,'fexp_aux,'fexps,'fexps_aux,
+ 'opt_default_aux,'opt_default,'pexp,'pexp_aux,'letbind_aux,'letbind,
+ 'pat,'pat_aux,'fpat,'fpat_aux) exp_alg -> 'a letbind -> 'letbind
+
val fold_pexp : ('a,'exp,'exp_aux,'lexp,'lexp_aux,'fexp,'fexp_aux,'fexps,'fexps_aux,
'opt_default_aux,'opt_default,'pexp,'pexp_aux,'letbind_aux,'letbind,
'pat,'pat_aux,'fpat,'fpat_aux) exp_alg -> 'a pexp -> 'pexp