]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicEnvironment.mli
added add_obj to store objects in the environment, implementation still
[helm.git] / helm / software / components / ng_kernel / nCicEnvironment.mli
index 225a4aea23165d72b9210e43062854f8be38b645..70a230ddf383eed8401fc3e2cb57d615d05b5d30 100644 (file)
  * functions strictly necessary to the typechecking algorithm *)
 
 val get_checked_obj: NUri.uri -> NCic.obj
+val get_obj: NUri.uri -> bool * NCic.obj
+val add_obj: NCic.obj -> unit
 
-val get_checked_def: 
+val get_checked_def:
   NReference.reference -> 
     NCic.relevance * string * NCic.term * NCic.term * NCic.c_attr * int
 
+(* the last integer is the index of the inductive type in the reference *)
+val get_checked_indtys:
+  NReference.reference -> 
+    bool * int * NCic.inductiveType list * NCic.i_attr * int
+
 val get_checked_fix:
   NReference.reference -> 
    NCic.relevance * string * NCic.term * NCic.term * NCic.f_attr * int