Skip to Content.
Sympa Menu

coq-club - Re: Transparent/Opaque?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: Transparent/Opaque?


chronological Thread 
  • From: Patrick Loiseleur <Patrick.Loiseleur AT lri.fr>
  • To: "Randy Pollack" <rap AT dcs.ed.ac.uk>
  • Cc: coq AT pauillac.inria.fr, coq-club AT pauillac.inria.fr
  • Subject: Re: Transparent/Opaque?
  • Date: Tue, 4 May 1999 14:00:05 +0200 (MEST)

In his message from Tuesday 4 May, 1999, Randy Pollack wrote: 
> What have I done wrong to see this this:
> 
>   Coq < Print eqs.
>   eqs = 
>   [T:CSetoid; n:nat; l,k:(listn (T) n)]
>    (i:(fin n))
>     (#GENTERM (CONST #listn#nth.cci) i l)
>        [=] (#GENTERM (CONST #listn#nth.cci) i k)
>        : (T:CSetoid; n:nat)(listn (T) n)->(listn (T) n)->Prop
> 
> Is it about Transparent/Opaque?
> 
> Randy

Dear Randy,

Not at all ! It is only about printing. There are 2 possibilities :

1) There is another constant called "nth" that hides the one from
module listn because it is more recent
2) The module listn is loaded but not visible (because you did
"Require A" with A containing "Require listn" and not "Require Export
listn"). Try the command "Require listn".

Patrick

-- 
Patrick.Loiseleur AT lri.fr





Archive powered by MhonArc 2.6.16.

Top of Page