[ocaml-platform] on the need and design of OCaml namespaces

Leo White lpw25 at cam.ac.uk
Fri Feb 22 16:29:24 GMT 2013


>I tend to agree with Alain about the fact that hierarchical namespaces
>is overkill. Flat namespace is easier to achieve and will solve most
>problems.

I don't think there is any additional work to support hierarchical 
namespaces.

>Working with Java all days long and its namespace, I would say it is
>totally useless to copy that! What the meaning of org.apache? Will I
>have to name my libraries net.le-gall.sylvain.Foo or
>org.ocamlcore.forge.ounit.OUnit?

There is a big difference between supporting hierarchical names and 
mandating them. It seems fairly ridiculous to assume that people are going 
to suddenly start using long unwieldy names with no obvious benefit.




More information about the Platform mailing list