X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicLibrary.mli;h=30dcc263c0d1c6afb3866bc30dbee11fb6049cb9;hb=2338b758114eb40daf3fadf4fb016a9a1af541b6;hp=dfd17f15bd6303c242216e2c66d60d0948dcfbd5;hpb=8bc5bc0e8375a85736f6a5df317d129d5efa8de4;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicLibrary.mli b/helm/software/components/ng_kernel/nCicLibrary.mli index dfd17f15b..30dcc263c 100644 --- a/helm/software/components/ng_kernel/nCicLibrary.mli +++ b/helm/software/components/ng_kernel/nCicLibrary.mli @@ -19,9 +19,13 @@ class status : object ('self) method timestamp: timestamp method set_timestamp: timestamp -> 'self + 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) *) @@ -38,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 @@ -46,4 +50,6 @@ module type Serializer = module Serializer(S: sig type status end): Serializer with type status= S.status +val init: unit -> unit + (* EOF *)