You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the Env module in compiler-libs.common (link: https://ocaml.org/p/ocaml-base-compiler/4.14.1/doc/Env/index.html) , which was expunged from the recent toplevel.
In order to use this, I am building a new REPL using ocamlmktop which links compiler-libs to the REPL, and this resolves the issue.
However, if I load some library, e.g., camlp5, using Topfind.load_deeply, it loads compiler-libs.common again, making the REPL unable to use Env:
In order to resolve this error, I am relying on Topfind.don't_load ["compiler-libs.common"]. It works, but it would be great if compiler-libs.common is not loaded by default because it is already available in the toplevel.
The text was updated successfully, but these errors were encountered:
Hello all,
I am trying to use the
Env
module in compiler-libs.common (link: https://ocaml.org/p/ocaml-base-compiler/4.14.1/doc/Env/index.html) , which was expunged from the recent toplevel.In order to use this, I am building a new REPL using
ocamlmktop
which links compiler-libs to the REPL, and this resolves the issue.However, if I load some library, e.g.,
camlp5
, usingTopfind.load_deeply
, it loadscompiler-libs.common
again, making the REPL unable to useEnv
:ocaml/ocaml#12271 has more details about the error.
In order to resolve this error, I am relying on
Topfind.don't_load ["compiler-libs.common"]
. It works, but it would be great ifcompiler-libs.common
is not loaded by default because it is already available in the toplevel.The text was updated successfully, but these errors were encountered: