X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicLibrary.mli;h=2911204ae50d0370375b56f4ac772e370a0952fb;hb=2ee517d852ad53540881221ecb01b9ec1881cc6a;hp=326ef143ea64d532b3670bbf832478bdd0905ac1;hpb=ea3883261d74eda2451ab90efc354a9c03b48707;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicLibrary.mli b/helm/software/components/ng_kernel/nCicLibrary.mli index 326ef143e..2911204ae 100644 --- a/helm/software/components/ng_kernel/nCicLibrary.mli +++ b/helm/software/components/ng_kernel/nCicLibrary.mli @@ -22,7 +22,10 @@ class status : method set_library_status: -> 'self end -val add_obj: #status as 'status -> NUri.uri -> NCic.obj -> 'status +(* it also checks it and add it to the environment *) +val add_obj: #status as 'status -> NCic.obj -> 'status +val add_constraint: + #status as 'status -> bool -> NCic.universe -> NCic.universe -> 'status val aliases_of: NUri.uri -> NReference.reference list val resolve: string -> NReference.reference list (* warning: get_obj may raise (NCicEnvironment.ObjectNotFoud l) *) @@ -39,7 +42,7 @@ module type Serializer = type obj val register: string -> - ('a -> refresh_uri_in_term:(NCic.term -> NCic.term) -> status -> status) -> + ('a -> refresh_uri_in_universe:(NCic.universe -> NCic.universe) -> refresh_uri_in_term:(NCic.term -> NCic.term) -> status -> status) -> ('a -> obj) val serialize: baseuri:NUri.uri -> obj list -> unit val require: baseuri:NUri.uri -> status -> status @@ -49,4 +52,7 @@ module Serializer(S: sig type status end): Serializer with type status= S.status val init: unit -> unit +(* CSC: only required during old-to-NG phase, to be deleted *) +val refresh_uri: NUri.uri -> NUri.uri + (* EOF *)