]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_refiner/nCicMetaSubst.mli
disambiguation now returns and takes in input the substitution
[helm.git] / helm / software / components / ng_refiner / nCicMetaSubst.mli
index 77c6d479c732dd65005c5ff92aa877dc8891c50b..ca2bfb71415c3776e1550c3b81103594187dc047 100644 (file)
@@ -52,10 +52,12 @@ val restrict:
     NCic.substitution ->
       int -> int list -> NCic.metasenv * NCic.substitution * int
 
+(* bool = true if the type of the new meta is closed *)
 val mk_meta: 
-    ?name:string -> 
-    NCic.metasenv -> NCic.context -> NCic.term option -> 
-      NCic.metasenv * NCic.term * NCic.term (* menv, instance, type *)
+   ?name:string -> 
+   NCic.metasenv -> NCic.context -> 
+    [ `WithType of NCic.term | `Term | `Type | `Typeless ] -> 
+    NCic.metasenv * NCic.term * NCic.term (* menv, instance, type *)
 
 (* returns the resulting type, the metasenv and the arguments *)
 val saturate: