package namespaces
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=d84ee62a78b5f7f97c6976e0823aaf9ddc54825681b18e481d5426652ab0ffdb
md5=0012771f63a3559e4f712632c0943258
Description
Deprecated in favor of the built-in mechanism in Dune.
An Ocamlbuild plugin that turns directories tagged with "namespace" into a nested module hierarchy. Each directory becomes a module. Filenames 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
Added to opam-repository:
Dependencies (3)
-
ocamlbuild
build -
ocamlfind
build -
ocaml
>= "4.02"
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building namespaces with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.5.1 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure