From: Gregoire Sutre <sutre@eecs.berkeley.edu>
To: caml-list@inria.fr
Subject: [Caml-list] Help: module names conflicts
Date: Tue, 11 Sep 2001 17:10:45 -0700 [thread overview]
Message-ID: <3B9EA805.2CFB38BF@eecs.berkeley.edu> (raw)
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).
Thanks for your help!
Greg.
--
Gregoire Sutre 545W Cory Hall
sutre@eecs.berkeley.edu University of California
Phone: (510) 642-1638 Berkeley, CA 94720
ICQ# 25170026 USA
-------------------
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
next reply other threads:[~2001-09-12 6:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-12 0:10 Gregoire Sutre [this message]
2001-09-12 7:13 ` Sven
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=3B9EA805.2CFB38BF@eecs.berkeley.edu \
--to=sutre@eecs.berkeley.edu \
--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