Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Building an ml plugin for Coq 8.5pl2

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Building an ml plugin for Coq 8.5pl2


Chronological Thread 
  • From: e AT x80.org (Emilio Jesús Gallego Arias)
  • To: Kenneth Roe <kendroe AT hotmail.com>
  • Cc: "coq-club\@inria.fr" <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Building an ml plugin for Coq 8.5pl2
  • Date: Mon, 11 Sep 2017 11:04:46 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=e AT x80.org; spf=Pass smtp.mailfrom=e AT x80.org; spf=Pass smtp.helo=postmaster AT x80.org
  • Ironport-phdr: 9a23:+RDlxRxkIqp1TH7XCy+O+j09IxM/srCxBDY+r6Qd0uMRIJqq85mqBkHD//Il1AaPBtqLra8cw8Pt8IneGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2TxTor3az9T8fHAnkfUowf7ytW92as8Pi9O20/ZDPY01ygzf1NbB/Khmsqgj5ts4KhIJjLuA6zR6f8VVSfOEDyEt4dQrVmAzzroed+Z9n8iMYmf86ZdUIfqz+e6k3SvRxFjUvKCFmt4XQqRDfQF7XtTMnWWIMn08NWlCd4Q==
  • Organization: X80 Heavy Industries

Kenneth Roe
<kendroe AT hotmail.com>
writes:

> Actually, I figured out this error. It turns out the files in the
> .mllib file need to be ordered by dependencies.

Indeed.

> Env

Be extremely careful here! You are using a module name in your plugin
that clashes with a module defined by Coq `Env`. This is bad, and even
if it works in practice, could create all kind of undefined behaviors.

You have to choices to solve this problem:

- rename your env module such that its name becomes globally unique
[wrt Coq and all the plugins you may ever load]

- Move to 8.6 and use a .mlpack file, so your plugin's modules will be
"packed" and these kind of conflicts are avoided.

E.



Archive powered by MHonArc 2.6.18.

Top of Page