module M = struct let f () = 42 end
open M
(* We can use `f` here, instead of `M.f` *)
Unlike OCaml, SATySFi does not create a module per a file (at least now). So the necessity of open is less for SATySFi, but we sometimes need this (e.g., when using a signature to hide implementation).
I want to introduce a new primitive to open a module.
For example, you can
open
a module in OCaml:Unlike OCaml, SATySFi does not create a module per a file (at least now). So the necessity of
open
is less for SATySFi, but we sometimes need this (e.g., when using a signature to hide implementation).