coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Michel Levy <michel.levy AT imag.fr>
- To: coq-club AT pauillac.inria.fr
- Subject: [Coq-Club] representation of Coq list in Ocaml
- Date: Tue, 03 Dec 2002 18:36:32 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
I would like to represent the type list of PolyList by the same type in Ocaml.
The command "Extract Inductive list => bool["[]" "(::)" ]." could not be used, because the (::) is not the
ocaml list constructor. Actually, (::) produces in Ocaml a syntax error.
How is it possible to represent cons (in Coq) by :: (in Ocaml) ?
--
Michel Levy
Laboratoire L.S.R., Bureau C214, B.P.72 - 38042 SAINT MARTIN D'HERES CEDEX e.mail : Michel.Levy AT imag.fr tel :(33)476514022
http://www-lsr.imag.fr/users/Michel.Levy
- [Coq-Club] representation of Coq list in Ocaml, Michel Levy
- Re: [Coq-Club] representation of Coq list in Ocaml,
Pierre Letouzey
- Re: [Coq-Club] representation of Coq list in Ocaml, Francois-Rene Rideau
- Re: [Coq-Club] representation of Coq list in Ocaml,
Pierre Letouzey
Archive powered by MhonArc 2.6.16.