]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicLibrary.mli
fixed bug in coercion application, input/output swapped in unification
[helm.git] / helm / software / components / ng_kernel / nCicLibrary.mli
index 30dcc263c0d1c6afb3866bc30dbee11fb6049cb9..6dc7dde437d52e1e41e22e42e0bff7ee522c470a 100644 (file)
@@ -15,17 +15,22 @@ exception LibraryOutOfSync of string Lazy.t
 
 type timestamp
 
+class type g_status =
+ object
+  method timestamp: timestamp
+ end
+
 class status :
  object ('self)
-  method timestamp: timestamp
+  inherit g_status
   method set_timestamp: timestamp -> 'self
-  method set_library_status: <timestamp: timestamp; ..> -> 'self
+  method set_library_status: #g_status -> 'self
  end
 
 (* 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
+  #status as 'status -> 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) *)
@@ -52,4 +57,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 *)