coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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.
- [Coq-Club] Applications in functor parameters, Nicolas BERTAUX
- Re: [Coq-Club] Applications in functor parameters, Hugo Herbelin
- <Possible follow-ups>
- [Coq-Club] Applications in functor parameters, Nicolas BERTAUX
Archive powered by MhonArc 2.6.16.