Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Namespace clash
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-02-09 (14:51)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] Namespace clash

On Feb 9, 2006, at 12:12, Alessandro Baretta wrote:

> 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.

It doesn't have to be a camlp4 extension, you could implement Alain's  
with a preprocessor written in Bourne shell.  But it doesn't work  
when the
program is already compiled with -pp, since the OCaml compiler doesn't
allow for a pipeline of preprocessors.

-- Damien