aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/extraction/common.mli
blob: 299ed508cf495ca5be86361ca7746bf97a318975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(***********************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team    *)
(* <O___,, *        INRIA-Rocquencourt  &  LRI-CNRS-Orsay              *)
(*   \VV/  *************************************************************)
(*    //   *      This file is distributed under the terms of the      *)
(*         *       GNU Lesser General Public License Version 2.1       *)
(***********************************************************************)

(*i $Id$ i*)

open Pp
open Miniml
open Mlutil
open Names
open Nametab

val is_long_module : dir_path -> global_reference -> bool

val short_module : global_reference -> identifier

val set_globals : unit -> unit

val pp_logical_ind : global_reference -> std_ppcmds

val pp_singleton_ind : global_reference -> std_ppcmds

val pp_decl : bool -> ml_decl -> std_ppcmds

val extract_to_file : 
  string option -> extraction_params -> ml_decl list -> unit