]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicLibrary.mli
undo/serialization for universes implemented
[helm.git] / helm / software / components / ng_kernel / nCicLibrary.mli
index 91bf96c69897b6eeb9968917f68b0e81e0e523f5..30dcc263c0d1c6afb3866bc30dbee11fb6049cb9 100644 (file)
@@ -24,6 +24,8 @@ class 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) *)
@@ -40,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