From: Sven <luther@dpt-info.u-strasbg.fr>
To: Gregoire Sutre <sutre@eecs.berkeley.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Help: module names conflicts
Date: Wed, 12 Sep 2001 09:13:37 +0200 [thread overview]
Message-ID: <20010912091337.A1894@dpt-info.u-strasbg.fr> (raw)
In-Reply-To: <3B9EA805.2CFB38BF@eecs.berkeley.edu>; from sutre@eecs.berkeley.edu on Tue, Sep 11, 2001 at 05:10:45PM -0700
On Tue, Sep 11, 2001 at 05:10:45PM -0700, Gregoire Sutre wrote:
> Hi,
>
> I am trying to use two ocaml libraries, but I have name conflicts : these
> two libraries both have a 'Pretty' module.
>
> I can compile my modules without a problem since I'm not using this Pretty
> module.
>
> But the OCaml compiler complains when I try to link against both libraries,
> since it finds two times the Pretty module.
>
> A basic but painful fix is to rename the conflicting modules (I then would
> have to go in each file of the library where the module is used to rename
> it...).
>
> Is there a better way to do this ?
>
> Such as e.g. automatically encapsulate each library in another module (I saw
> this idea in a post on module hierarchy, but I don't whether it is
> implemented).
It would be very usefull thing to have, it was already discussed, but has not
yet been implemented. I don't know if there are planes for it, but they are
low priority i think.
Friendly,
Sven Luther
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
prev parent reply other threads:[~2001-09-12 7:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-12 0:10 Gregoire Sutre
2001-09-12 7:13 ` Sven [this message]
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=20010912091337.A1894@dpt-info.u-strasbg.fr \
--to=luther@dpt-info.u-strasbg.fr \
--cc=caml-list@inria.fr \
--cc=sutre@eecs.berkeley.edu \
/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