没有接口的 dune utop lib
dune utop lib without the interfaces
是否可以 dune utop mylib
在 "promiscuous mode" 中加载一个库,它会忽略 .mli
接口文件并公开内部结构,例如未列为 public界面?
实际上,加载 utop "from within" 实现,而不是 "from outside",发出标准 open
命令,并由 public 接口强制执行抽象。
这是不可能的。您可以在 dune 的 github 存储库中打开工单以请求此类功能。
是否可以 dune utop mylib
在 "promiscuous mode" 中加载一个库,它会忽略 .mli
接口文件并公开内部结构,例如未列为 public界面?
实际上,加载 utop "from within" 实现,而不是 "from outside",发出标准 open
命令,并由 public 接口强制执行抽象。
这是不可能的。您可以在 dune 的 github 存储库中打开工单以请求此类功能。