[ocaml-platform] Unique file names
Jeff Meister
nanaki at gmail.com
Tue Mar 5 05:32:59 GMT 2013
On the contrary, I'm very glad to hear your support for this feature as
well! My needs are not as complex as yours, but this is a major issue for
me.
If I may state the problem more strongly: plenty of programmers have
already created independent packages with a file named list.ml, or
something similarly conflict-prone, and I see no reason why they will (or
should) stop doing so in the future. If this namespace proposal is intended
to serve the greater OCaml community, then I consider the globally unique
filename requirement such a serious problem that any proposal which fails
to solve it does not provide namespaces in a sense I find meaningful.
No offense intended here, but I am highly disturbed that Alain sees
globally unique filenames as a potential solution, when to me it is a
fundamental part of the problem.
On Mon, Mar 4, 2013 at 6:50 PM, Yaron Minsky <yminsky at janestreet.com> wrote:
> > Could all of these benefits be obtained by having longer names for
> > files generated as part of the compilation (.cmx, .cmo, .cmi, etc.),
> > but keep the source file names short? i.e., one could imagine that if
> > you put "-put-in-namespace core" on the command-line to ocamlc, it
> > would generate "core_list.ml" when given the file "list.ml". The onus
> > would be on the build system to provide said flags, but it would seem
> > to simplify things thereupon.
>
> Apologies: Catching up on the thread, this seems essentially the same
> as the -unit-name-prefix proposal that Romain mentions.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/platform/attachments/20130304/95c0afa4/attachment.html>
More information about the Platform
mailing list