Opam Package namespaces.0.5.1

Package info

opam-namenamespaces
opam-version0.5.1
synopsisTurn directories into OCaml modules (deprecated)
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
authors
  • Anton Bachin <antonbachin@yahoo.com>
homepagehttps://github.com/aantron/namespaces
licenseBSD-3-Clause
deps (3)
revdeps(0)
metas (1)
libraries (1)

Package modules

Package sources

namespaces

Package files

lib/namespaces/namespaces.mli
lib/namespaces/namespaces.cmxa
lib/namespaces/namespaces.cmti
lib/namespaces/namespaces.cmt
lib/namespaces/namespaces.cmi
lib/namespaces/namespaces.cma
lib/namespaces/namespaces.a
lib/namespaces/META
lib/namespaces