package namespaces
Turn directories into OCaml modules
Install
Dune Dependency
Authors
Maintainers
Sources
0.5.tar.gz
sha256=545273995bd88db10ee4d6e5f5a9dc9746dc36e9af8f18f53df9ed0b39779e49
md5=75f2052cef90f22617e29d4e22928f4f
Description
An Ocamlbuild plugin that turns directories tagged with "namespace" into a module hierarchy. File names become scoped, so you can have the same filename in multiple directories. So, if you have
server
|-- foo.ml
+-- bar.ml
client
|-- foo.ml
|-- bar.ml
|-- ui
| +-- reactive.ml
+-- client.ml
It is as if you had written
module Server =
struct
module Foo = (* server/foo.ml *)
module Bar = (* server/bar.ml *)
end
module Client =
struct
module Foo = (* client/foo.ml *)
module Bar = (* client/bar.ml *)
module Ui =
struct
module Reactive = (* client/ui/reactive.ml *)
end
include (* client/client.ml *)
end
Published: 28 Feb 2016
Dependencies (3)
-
ocamlbuild
build
-
ocamlfind
build
-
ocaml
>= "4.02"
Dev Dependencies
None
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page