X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_refiner%2FnCicCoercion.mli;h=ca65aa953b9edcdf2d6dd28782107d06e3d0cd66;hb=ee9a771a3cf2124ef65906ae75eb0ba7e2e4303b;hp=0d96a74074943192b3acf2859afc00cd6edda71d;hpb=e603c19e82c160362587cb0bc578287c87122b90;p=helm.git diff --git a/helm/software/components/ng_refiner/nCicCoercion.mli b/helm/software/components/ng_refiner/nCicCoercion.mli index 0d96a7407..ca65aa953 100644 --- a/helm/software/components/ng_refiner/nCicCoercion.mli +++ b/helm/software/components/ng_refiner/nCicCoercion.mli @@ -17,7 +17,7 @@ class status : object ('self) method coerc_db: db method set_coerc_db: db -> 'self - method set_coercion_status: status -> 'self + method set_coercion_status: -> 'self end val empty_db: db @@ -40,3 +40,8 @@ val look_for_coercion: (* enriched metasenv, new term, its type, metavriable to * be unified with the old term *) (NCic.metasenv * NCic.term * NCic.term * NCic.term) list + +(* returns (coercion,arity,arg) *) +val match_coercion: + #status -> metasenv:NCic.metasenv -> subst:NCic.substitution -> + context:NCic.context -> NCic.term -> (NCic.term * int * int) option