coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Guillaume Melquiond <guillaume.melquiond AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] name conflicts between coq libraries
- Date: Wed, 04 Feb 2015 23:03:12 +0100
On 04/02/2015 21:25, Frédéric Blanqui wrote:
Good to hear that because it doesn't seem a desirable featureHowever, I notice that, if the file F.v of L1 is in a subdirectory,True. It looks like a bug. Note that D.F works however (unless hidden
say D,
then L1.F does not work. Instead we need to use L1.D.F.
by another D).
P.
Actually, unless I am misunderstanding the issue at hand, this is the expected behavior. The logical path of your file is L1.D.F, so the allowed paths to load it are F, D.F, and L1.D.F.
since it
exposes the internal file structure of the library to the outside:
renaming a directory or moving a file into another directory will have
an impact to all developments depending on this library.
Sure, but that is also true if you rename a file. If your users can cope with file renaming, they can also cope with directory renaming.
Not fixing this
bug may lead people to use a flat file structure for their libraries
which does not seem very nice.
My suggestion would be to design your library so that the user never has to directly include files hidden deep into your library. For instance, you should have a few files at the toplevel of the library that exports all the other files.
Best regards,
Guillaume
- [Coq-Club] name conflicts between coq libraries, Frédéric Blanqui, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Jason Gross, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Pierre Courtieu, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Guillaume Melquiond, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Frédéric Blanqui, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Pierre Courtieu, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Frédéric Blanqui, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Guillaume Melquiond, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Frédéric Blanqui, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Pierre Courtieu, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Pierre Courtieu, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Frédéric Blanqui, 02/04/2015
- Re: [Coq-Club] name conflicts between coq libraries, Guillaume Melquiond, 02/04/2015
Archive powered by MHonArc 2.6.18.