Skip to Content.
Sympa Menu

coq-club - [Coq-Club] modules and inductive types

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] modules and inductive types


Chronological Thread 
  • From: Kirill Taran <kirill.t256 AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] modules and inductive types
  • Date: Wed, 26 Feb 2014 05:39:11 +0400

Hello.

Is it possible to declare types inside module such way that I can pattern match on them outside of the module?
(When I define module satisfying signature I must declare types with Definition or wrap Inductive/Record with it;
that makes type content invisible to module users; I suspect that this behaviour is implemented intentionally.)

Sincerely,
Kirill Taran



Archive powered by MHonArc 2.6.18.

Top of Page