coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Randy Pollack" <rap AT dcs.ed.ac.uk>
- To: coq-club AT pauillac.inria.fr
- Cc: herman AT cs.kun.nl, freek AT cs.kun.nl
- Subject: Parameters in "Definitions"?
- Date: Mon, 15 Feb 1999 11:47:28 GMT
As a functional programmer I like to write, e.g.
(1) plus (n,m:nat) : nat = ...
rather than
(2) plus : nat->nat->nat = \n:nat.\n:nat. ...
In Coq, the "Fixpoint" definition lets one write (1) instead of (2).
Does the ordinary "Definition" allow such a shorthand? If not, is
there a reason or can it be changed?
The notation I want almost exists, by using a Fixpoint with a dummy
boolean argument.
Thanks,
Randy
- Parameters in "Definitions"?, Randy Pollack
- Re: Parameters in "Definitions"?,
Bruno Barras
- Re: Parameters in "Definitions"?,
Randy Pollack
- Re: Parameters in "Definitions"?, Patrick Loiseleur
- Re: Parameters in "Definitions"?,
Randy Pollack
- Re: Parameters in "Definitions"?,
Bruno Barras
Archive powered by MhonArc 2.6.16.