X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicMetaSubst.mli;h=ca2bfb71415c3776e1550c3b81103594187dc047;hb=cb8646f6ae9bcbf19188f05a45059304ca8d5431;hp=f8af0944e6a95ca0b1cbd91f2c339ebb1cd77ddb;hpb=c14ddc094a1cfa93b5337e5aecc6831f72dfc22b;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicMetaSubst.mli b/helm/software/components/ng_refiner/nCicMetaSubst.mli index f8af0944e..ca2bfb714 100644 --- a/helm/software/components/ng_refiner/nCicMetaSubst.mli +++ b/helm/software/components/ng_refiner/nCicMetaSubst.mli @@ -52,11 +52,14 @@ 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: ?delta:int -> NCic.metasenv -> NCic.context -> NCic.term -> int -> NCic.term * NCic.metasenv * NCic.term list