[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alessandro Baretta <a.baretta@b...> |
| Subject: | Re: [Caml-list] Namespace clash |
Alain Frisch wrote: > Alessandro Baretta wrote: > >> Probably, all that ocaml lacks to properly handle namespacing is a >> -open directive, telling the compiler to imply a "open Xxxx" at the >> beginning of all .ml and .mli files on the command line. Given this >> compiler flag, the build system could take care of everything. > I had not thought about this... Actually, it is not a bad idea, at least, in my build system. Ideally, the build system would have to have a way of mangling the library namespace by packaging up findlib-managed libraries in a single package. Then, it would have to isse the desired -open directives to an ad-hoc camlp4 syntax extension. It's a bit of a hack, but it could work. I wonder if it is general enough a solution to become mainstream, though. Alex -- ********************************************************************* Ing. Alessandro Baretta Studio Baretta http://studio.baretta.com/ Consulenza Tecnologica e Ingegneria Industriale Technological Consulting and Industrial Engineering tel. +39 02 370 111 55 fax. +39 02 370 111 54