coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ewen Denney <denney AT irisa.fr>
- To: coq AT pauillac.inria.fr
- Subject: incomplete pattern matching & extraction
- Date: Fri, 17 Sep 1999 13:28:11 +0200
- Organization: IRISA, Campus de Beaulieu, 35042 Rennes Cedex, France
We can use Extract Inductive list => list[nil cons] to bind Coq lists to
Caml lists during extraction, but suppose I want to do the same for the
head function? I would like head in Coq to become hd in Caml, but the
problem is that head is defined in Coq as a total function, which
returns Value x or error.
Is there any simple way to make the link between explicit error values
in Coq and true errors (or imcomplete pattern matching) in Caml?
Ewen
- incomplete pattern matching & extraction, Ewen Denney
- Re: incomplete pattern matching & extraction, Jean-Christophe Filliatre
Archive powered by MhonArc 2.6.16.