0
我试图用oasis
编译我的项目,我的项目是这样安排:OCaml的:使用绿洲多层次的src文件夹
_oasis
src/
main.ml
core_a.ml
core_b.ml
type.ml
plugins/
plugin_a.ml
plugin_b.ml
注意,在plugin_a.ml
,它指的是模块type.ml
(即,open Type
)。
当我使用oasis
编译项目,它报告:
Unbound module Type
这里是我的_oasis
文件的简化版本:
....
BuildTools: ocamlbuild
BuildDepends: deriving, deriving.syntax, core, batteries
Executable "main"
Path: src
MainIs: main.ml
CompiledObject: best
Install: false
BuildDepends: deriving, deriving.syntax, core, batteries
难道我做错了什么吗?或者我正在做的不是组织这样一个项目的最佳做法?