Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Problem using a functor

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Problem using a functor


chronological Thread 
  • From: Emmanuel Polonowski <polonowski AT u-pec.fr>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Problem using a functor
  • Date: Tue, 30 Aug 2011 11:11:04 +0200

Dear Coq-Club readers,

When using the module system in order to instantiate a functor, I get a 
strange error message.


Module Type A.
End A.

Module Type F (a : A).
End F.

Module G (a : A) (fi : F a).
End G.

Module FI_def (a : A).
End FI_def.

Module FI (a : A) : F a := FI_def a.

Module GI (a : A) := G a (FI a).

Error: Application to not path.

Is the definition of this last module correct ?

Thanks for any hint...

Best regards,
Emmanuel

--
---------------------------------------------------------------
Emmanuel Polonowski
Université Paris-Est Créteil - LACL - ESIAG
http://lacl.u-pec.fr/polonowski/
---------------------------------------------------------------







Archive powered by MhonArc 2.6.16.

Top of Page