summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSon Ho2022-09-22 18:32:03 +0200
committerSon Ho2022-09-22 18:32:03 +0200
commit34fed5feb6b768cdf1489936cc1529898bdcc4e9 (patch)
tree79e5bf91c7f93082c7ce82ddf5cd8c23ebb426d8
parent65b7bcbb95d39e680cd7c579dd969dff9195eb5a (diff)
Add some comments
Diffstat (limited to '')
-rw-r--r--src/ExtractToFStar.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ExtractToFStar.ml b/src/ExtractToFStar.ml
index ec0f88a4..b537e181 100644
--- a/src/ExtractToFStar.ml
+++ b/src/ExtractToFStar.ml
@@ -914,6 +914,9 @@ let rec extract_texpression (ctx : extraction_ctx) (fmt : F.formatter)
| Switch (scrut, body) -> extract_Switch ctx fmt inside scrut body
| Meta (_, e) -> extract_texpression ctx fmt inside e
+(* Extract an application *or* a top-level qualif (function extraction has
+ * to handle top-level qualifiers, so it seemed more natural to merge the
+ * two cases) *)
and extract_App (ctx : extraction_ctx) (fmt : F.formatter) (inside : bool)
(app : texpression) (args : texpression list) : unit =
(* We don't do the same thing if the app is a top-level identifier (function,