summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md6
-rw-r--r--compiler/SymbolicToPure.ml5
2 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index 279804da..003cbc61 100644
--- a/README.md
+++ b/README.md
@@ -40,14 +40,14 @@ You need to install OCaml, together with some packages.
We suggest you to follow those [instructions](https://ocaml.org/docs/install.html),
and install OPAM on the way (same instructions).
+We use **OCaml 4.13.1**: `opam switch create 4.13.1+options`
+
The dependencies can then be installed with the following command:
```
-opam install ppx_deriving visitors easy_logging zarith yojson core_unix
+opam install ppx_deriving visitors easy_logging zarith yojson core_unix odoc
```
-We use **OCaml 4.12.1**.
-
Finally, building the project simply requires to run `make` in the top directory.
## Usage
diff --git a/compiler/SymbolicToPure.ml b/compiler/SymbolicToPure.ml
index de4fb4c1..24af578f 100644
--- a/compiler/SymbolicToPure.ml
+++ b/compiler/SymbolicToPure.ml
@@ -29,8 +29,9 @@ type config = {
Also note that in general, backward functions "do more things" than
forward functions, and have more opportunities to fail (even though
- in the generated code, backward functions should fail exactly when
- the forward functions fail).
+ in the generated code, calls to the backward functions should fail
+ exactly when the corresponding, previous call to the forward functions
+ failed).
We might want to move this optimization to the micro-passes subsequent
to the translation from symbolic to pure, but it is really super easy