summaryrefslogtreecommitdiff
path: root/compiler/InterpreterStatements.mli
diff options
context:
space:
mode:
authorSon Ho2024-05-24 16:32:59 +0200
committerSon Ho2024-05-24 16:32:59 +0200
commit321263384bb1e6e8bfd08806f35164bdba387d74 (patch)
tree04d90b72b7591e380079614a4335e9ca7fe11268 /compiler/InterpreterStatements.mli
parent765cb792916c1c69f864a6cf59a49c504ad603a2 (diff)
parent0baa0519cf477fe1fa447417585960fc811bcae9 (diff)
Merge branch 'main' into afromher/recursive_projectors
Diffstat (limited to '')
-rw-r--r--compiler/InterpreterStatements.mli10
1 files changed, 7 insertions, 3 deletions
diff --git a/compiler/InterpreterStatements.mli b/compiler/InterpreterStatements.mli
index 7a2783bb..c70396d6 100644
--- a/compiler/InterpreterStatements.mli
+++ b/compiler/InterpreterStatements.mli
@@ -17,7 +17,11 @@ open Cps
continuation with [None].
*)
val pop_frame :
- config -> Meta.meta -> bool -> (typed_value option -> m_fun) -> m_fun
+ config ->
+ Meta.span ->
+ bool ->
+ eval_ctx ->
+ typed_value option * eval_ctx * (eval_result -> eval_result)
(** Helper.
@@ -46,7 +50,7 @@ val create_push_abstractions_from_abs_region_groups :
eval_ctx
(** Evaluate a statement *)
-val eval_statement : config -> statement -> st_cm_fun
+val eval_statement : config -> statement -> stl_cm_fun
(** Evaluate a statement seen as a function body *)
-val eval_function_body : config -> statement -> st_cm_fun
+val eval_function_body : config -> statement -> stl_cm_fun