Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Applications in functor parameters

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Applications in functor parameters


chronological Thread 
  • From: Nicolas BERTAUX <nicolas.bertaux AT etu.upmc.fr>
  • To: herbelin AT pauillac.inria.fr
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: [Coq-Club] Applications in functor parameters
  • Date: Thu, 25 Sep 2008 13:54:54 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

    Hello,

Coq paths are made of iterated module field selections.  Having
expressions like F(M) in paths would require computations at path
resolution time. Coq could somehow hide a precomputation N of F(M) and
reason with N in place of F(M) but this is not done. Hence, the user
has to do the job of "precomputation" her/himself in advance.

    Thank you for your answer and your workaround. Do you plan to make this
feature more flexible in the future (typically, making those precomputations
done by Coq, for example)? In OCaml, applications can be used as effective
parameters of functors; could it be done in Coq in a similar way?

    Thanks again for your help.

    Nicolas.





Archive powered by MhonArc 2.6.16.

Top of Page