Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Qualified imports

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Qualified imports


Chronological Thread 
  • From: "N. Raghavendra" <raghu AT hri.res.in>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Qualified imports
  • Date: Tue, 11 Aug 2015 12:07:21 +0530
  • Cancel-lock: sha1:Urnq3g2GESDwP48BMT2WZZjo3tg=

At 2015-08-10T10:24:52Z, Soegtrop, Michael wrote:

> maybe there is a more elegant way, but what I did sometimes in such
> cases is to wrap it into a module like this:
>
> Module L.
> Require List.
> Include List.
> End L.
>
> Print L.hd.

Thanks for the suggestion. Meanwhile, I found that

Require LongModuleName.
Module LMN := LongModuleName.
Print LMN.foo.

also works. Is there any reason to prefer the one over the other?

Cheers,
Raghu.

--
N. Raghavendra
<raghu AT hri.res.in>,
http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/




Archive powered by MHonArc 2.6.18.

Top of Page