coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Robbert Krebbers <mailinglists AT robbertkrebbers.nl>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] ML extraction: annotated functions
- Date: Thu, 23 Jul 2015 23:02:10 +0200
On 07/23/2015 10:45 PM, Éric Tanter wrote:
I found a very minimal example that makes my point (I’m in Coq 8.5beta2):Given that Coq also generates the .mli files, I do get the less general type as you wish:
Test.v
--------
Require Import String ExtrOcamlString.
Extraction "append.ml" append.
$ coqtop
Welcome to Coq 8.4pl5 (February 2015)
Coq < Require Import String ExtrOcamlString.
Coq < Extraction "Append.ml" append;
Coq < ^\Quit
$ ocamlc Append.mli Append.ml
$ ocaml
OCaml version 4.01.0
# #load "Append.cmo";;
# open Append;;
# append;;
- : char list -> char list -> char list = <fun>
- [Coq-Club] ML extraction: annotated functions, Éric Tanter, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Kenneth Adam Miller, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Robbert Krebbers, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Éric Tanter, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Éric Tanter, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Robbert Krebbers, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Éric Tanter, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Kenneth Adam Miller, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Éric Tanter, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Kenneth Adam Miller, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Éric Tanter, 07/23/2015
- Re: [Coq-Club] ML extraction: annotated functions, Éric Tanter, 07/23/2015
Archive powered by MHonArc 2.6.18.