]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/ng_kernel/nCicEnvironment.mli
3e2cbff281cccf7be965e4de7b9223dce6a9797f
[helm.git] / helm / software / components / ng_kernel / nCicEnvironment.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$ *)
13
14 exception CircularDependency of string Lazy.t;;
15 exception ObjectNotFound of string Lazy.t;;
16 exception BadDependency of string Lazy.t;;
17
18 val get_checked_obj: NUri.uri -> NCic.obj
19
20 val get_checked_def:
21   NReference.reference -> 
22     NCic.relevance * string * NCic.term * NCic.term * NCic.c_attr * int
23
24 (* the last integer is the index of the inductive type in the reference *)
25 val get_checked_indtys:
26   NReference.reference -> 
27     bool * int * NCic.inductiveType list * NCic.i_attr * int
28
29 val get_checked_fixes_or_cofixes:
30   NReference.reference -> 
31    NCic.inductiveFun list * NCic.f_attr * int
32
33 val get_indty_leftno: NReference.reference -> int
34
35 val invalidate: unit -> unit
36
37 val set_typecheck_obj: (NCic.obj -> unit) -> unit
38
39 (* EOF *)