X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicEnvironment.mli;h=5252ddb8b5f271bd307cd36d4590b8dd8a0e91c2;hb=5d0d8107649b9264ebe7d8ff2c69bf777179b0d2;hp=1c530061a469b9cb7e459d13f9e00230dd77d1a6;hpb=4f0397e0faf85e400e244c815de4780660652faa;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicEnvironment.mli b/helm/software/components/ng_kernel/nCicEnvironment.mli index 1c530061a..5252ddb8b 100644 --- a/helm/software/components/ng_kernel/nCicEnvironment.mli +++ b/helm/software/components/ng_kernel/nCicEnvironment.mli @@ -13,11 +13,15 @@ exception CircularDependency of string Lazy.t;; exception ObjectNotFound of string Lazy.t;; -exception BadDependency of string Lazy.t;; +exception BadDependency of string Lazy.t * exn;; exception BadConstraint of string Lazy.t;; +val set_get_obj: (NUri.uri -> NCic.obj) -> unit + val get_checked_obj: NUri.uri -> NCic.obj +val check_and_add_obj: NCic.obj -> unit + val get_relevance: NReference.reference -> bool list val type0: NCic.universe @@ -46,6 +50,11 @@ val get_checked_fixes_or_cofixes: NReference.reference -> NCic.inductiveFun list * NCic.f_attr * int +(* invalidate the object and all those that entered the environment after it *) +val invalidate_item: + [ `Obj of NUri.uri * NCic.obj + | `Constr of bool * NCic.universe * NCic.universe ] -> unit + val invalidate: unit -> unit val set_typecheck_obj: (NCic.obj -> unit) -> unit