summaryrefslogtreecommitdiff
path: root/src/ast_util.mli
diff options
context:
space:
mode:
authorBrian Campbell2017-10-24 15:33:23 +0100
committerBrian Campbell2017-10-24 15:33:23 +0100
commit4590fb436e2d8c567a2b177bd407380993568ab6 (patch)
treeb4a7a87912d5a2b0d8d4dcede1ff1469da20efbe /src/ast_util.mli
parent8d2728c9c0f7e7660eab5b70d1ed6067b8ef36d0 (diff)
Handle existential types in Lem backend by stripping them and
checking that the type variables visible in the output aren't existential
Diffstat (limited to 'src/ast_util.mli')
-rw-r--r--src/ast_util.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ast_util.mli b/src/ast_util.mli
index 7ab7807a..7e4c9fa0 100644
--- a/src/ast_util.mli
+++ b/src/ast_util.mli
@@ -225,3 +225,6 @@ val vector_typ_args_of : typ -> nexp * nexp * order * typ
val is_order_inc : order -> bool
val has_effect : effect -> base_effect_aux -> bool
+
+val tyvars_of_nexp : nexp -> KidSet.t
+val tyvars_of_typ : typ -> KidSet.t