package mld

  1. Overview
  2. Docs
The MLD package makes directory foo.mld turn into module Foo

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.tar.gz
sha256=750b2601ce3d94ca4271d219a6dadd1d087be280cb0e6eaf3c9cce3c4a4e71fa
md5=209b7dc2353859204d80d9fc7598b349

Description

The contents of module Foo are the modules that can be "found" in directory foo.mld and recursively in its subdirectories, down to other directories of the form bar.mld: Bar will be a submodule of Foo, and the recursive search for Foo's modules stops there. The contents of bar.mld will then be used to determine the submodules of Foo.Bar. Hence, the following source tree

-src/
 |-foo.mld/
   |-a/
   | |-bar.mld/
   | | |-b.ml
   | |
   | |-c/
   |   |-d.ml
   |
   |-e.ml

will turn into the following module structure

-Foo
 |-Bar
 | |-B
 |
 |-D
 |-E

In the background: an mlpack is automatically generated for each directory *.mld, and the -for-pack options are automatically generated.

Published: 13 Nov 2017

Dependencies (6)

  1. ocamlfind build
  2. ocamlbuild = "0"
  3. ocamlbuild <= "0.12.0"
  4. ocamlbuild >= "0.9.0"
  5. oasis
  6. ocaml >= "4.02"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.