Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Finite Maps

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Finite Maps


chronological Thread 
  • From: "St�phane Lescuyer" <lescuyer AT lri.fr>
  • To: "Adam Chlipala" <adamc AT hcoop.net>
  • Cc: "Ashish Darbari" <ashish AT darbari.org>, coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Finite Maps
  • Date: Sun, 11 Jan 2009 20:22:28 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=c6eLhnUd+qS7rEWnZDhl8UvHf4zPmA2y205HHplnelZIhZgt/wgtKhb7j9C6FxErlu gVJgxTBABlDC+0jSbWbYGZkZKKnHWALGI7DYm4/BINslAIFz1FbJ8GRBesB4du5CnZY9 5zdP8+ZyfINplz7kJet634RSg72FVId75o9OE=
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

There was indeed a discussion about this issue earlier in December and
Pierre Letouzey pointed to a new command

Extraction Blacklist <module name> .... .

that forces the extraction mechanism to rename modules like List and
String, in order to avoid clashes with the usual OCaml modules.
That would solve your issue without resorting to -pack (or worse, to sed).
It is only available in the svn snapshot or the current 8.2 beta version 
though.

HTH,

Stéphane L.


On Sun, Jan 11, 2009 at 8:12 PM, Adam Chlipala 
<adamc AT hcoop.net>
 wrote:
> Ashish Darbari wrote:
>>
>> However having compiled these using ocaml compilers and loading (#use)
>>
>> the fMapAVL.ml I get an error message
>>
>> The file ocaml and fMapList.cmi make inconsistent assumptions over
>> interface List
>>
>
> I expect that you extracted a file list.ml, which conflicts with [List] from
> the OCaml standard library.  Check out the [-pack] option to the OCaml
> compilers for a way to put your extracted modules in a separate namespace
> and avoid the clash.
>
> --------------------------------------------------------
> Bug reports: http://logical.futurs.inria.fr/coq-bugs
> Archives: http://pauillac.inria.fr/pipermail/coq-club
>         http://pauillac.inria.fr/bin/wilma/coq-club
> Info: http://pauillac.inria.fr/mailman/listinfo/coq-club
>



-- 
I'm the kind of guy that until it happens, I won't worry about it. -
R.H. RoY05, MVP06





Archive powered by MhonArc 2.6.16.

Top of Page