caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Namespace clash
Date: Thu, 9 Feb 2006 15:52:07 +0100	[thread overview]
Message-ID: <800D0E1E-4D64-4815-83C6-CFAA28101238@inria.fr> (raw)
In-Reply-To: <43EB23B1.8070801@barettadeit.com>


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


  reply	other threads:[~2006-02-09 14:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 13:28 Alessandro Baretta
2006-02-08 23:41 ` [Caml-list] " Jonathan Roewen
2006-02-09  5:08 ` Alain Frisch
2006-02-09 11:12   ` Alessandro Baretta
2006-02-09 14:52     ` Damien Doligez [this message]
2006-02-09 19:32 yoann padioleau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=800D0E1E-4D64-4815-83C6-CFAA28101238@inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).