Skip to Content.
Sympa Menu

coq-club - [Coq-Club] records

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] records


chronological Thread 
  • From: Nuno Gaspar <nmpgaspar AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] records
  • Date: Wed, 30 Nov 2011 14:09:20 +0100

Hello.

From what I saw, recursive records are not allowed in Coq. So one cannot do something like:

Record X: Type :=
Con {
    foo    : list Stuff;
    bar    : list X 
    }.

Is there any way to go around this restriction? I mean what is the standard approach for a coq user to follow whenever faced with this situation?

Thank you!

--
Bart: Look at me, I'm a grad student, I'm 30 years old and I made $600 dollars last year.
Marge: Bart! Don't make fun of grad students, they just made a terrible life choice.



Archive powered by MhonArc 2.6.16.

Top of Page