]> matita.cs.unibo.it Git - helm.git/blob - matita/components/ng_kernel/nCicExtraction.mli
Extraction is now integrated with the usual machinery for serialization of
[helm.git] / matita / components / ng_kernel / nCicExtraction.mli
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.      
9      \ /   This software is distributed as is, NO WARRANTY.     
10       V_______________________________________________________________ *)
11
12 (* $Id: nCicEnvironment.mli 11172 2011-01-11 21:06:37Z sacerdot $ *)
13
14 type info
15 type db
16
17 class type g_status =
18  object
19   method extraction_db: db
20  end
21
22 class virtual status :
23  object ('self)
24   inherit g_status
25   inherit NCic.status
26   method set_extraction_db: db -> 'self
27   method set_extraction_status: #g_status -> 'self
28  end
29
30 val empty_info: info
31
32 val refresh_uri_in_info:
33  refresh_uri_in_reference:(NReference.reference -> NReference.reference) ->
34   info -> info
35
36 val register_infos: db -> info -> db
37
38 (* Haskell *)
39 val haskell_of_obj: (#status as 'status) -> NCic.obj ->
40  'status * (string * info)