]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic_unification/cicRefine.mli
coercions that are marked as variant are unfolded when inserted
[helm.git] / helm / software / components / cic_unification / cicRefine.mli
index 30b264455246890438191bc2a1a0a9757db652fa..d17b1ac85b3a46277e476e6e5c3c84455f68af6f 100644 (file)
@@ -31,7 +31,7 @@ exception AssertFailure of string Lazy.t;;
 (* refines [term] and returns the refined form of [term],  *)
 (* its type, the new metasenv and universe graph.          *)
 val type_of_aux':
- ?localization_tbl:Token.flocation Cic.CicHash.t ->
+ ?localization_tbl:Stdpp.location Cic.CicHash.t ->
   Cic.metasenv -> Cic.context -> Cic.term -> CicUniv.universe_graph ->
    Cic.term * Cic.term * Cic.metasenv * CicUniv.universe_graph
 
@@ -40,11 +40,12 @@ val type_of_aux':
 (* the new metasenv and universe graph.                 *)
 (* the [uri] is required only for inductive definitions *)
 val typecheck : 
- localization_tbl:Token.flocation Cic.CicHash.t ->
+ localization_tbl:Stdpp.location Cic.CicHash.t ->
   Cic.metasenv -> UriManager.uri option -> Cic.obj ->
    Cic.obj * Cic.metasenv * CicUniv.universe_graph
 
 val insert_coercions: bool ref (* initially true *)
+val pack_coercions : bool ref
 
 val pack_coercion_obj: Cic.obj -> Cic.obj