Skip to Content.
Sympa Menu

coq-club - [Coq-Club] another inductive types question

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] another inductive types question


chronological Thread 
  • From: Vladimir Voevodsky <vladimir AT ias.edu>
  • To: Coq Club <coq-club AT pauillac.inria.fr>
  • Subject: [Coq-Club] another inductive types question
  • Date: Sun, 11 Oct 2009 14:16:56 -0400
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

I am just trying to understand how the "Inductive" works. I also tried the following:



Inductive ST1:Type := nat : ST1 .

Inductive ST2:Type  := ST1:ST2 .


and the first line compiles while both lines together do not, with the message "Error: ST1 already exists".

Is it right?

V.






Archive powered by MhonArc 2.6.16.

Top of Page