OCaml extraction continued

parent 9ce5495b
......@@ -75,6 +75,9 @@ WhyML
require tedious checks pretty much everywhere in the code,
and they cannot be translated to OCaml.
- accept match e1 with pat -> e2 end as non-ghost when e1 is ghost
and e2 is not ghost
......@@ -70,8 +70,8 @@ end
module ref.Ref
syntax type ref "(%1 Pervasives.ref)"
syntax function contents "(%1).Pervasives.contents"
syntax val ref "(Pervasives.ref %1)"
syntax val (!) "(%1).Pervasives.contents"
syntax val (:=) "((%1) := (%2))"
syntax val ref "Pervasives.ref"
syntax val (!_) "Pervasives.(!)"
syntax val (:=) "Pervasives.(:=)"
This diff is collapsed.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment