X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_unification%2FcicMetaSubst.mli;h=b1e34757ec6e0564b32f8d050215808f1dd65fe8;hb=5325734bc2e4927ed7ec146e35a6f0f2b49f50c1;hp=6034853da84dac5e612ec67946e90579aa43fcec;hpb=34dfcf625e3ee6fac4ad4f7199055dee4edc5abb;p=helm.git diff --git a/helm/ocaml/cic_unification/cicMetaSubst.mli b/helm/ocaml/cic_unification/cicMetaSubst.mli index 6034853da..b1e34757e 100644 --- a/helm/ocaml/cic_unification/cicMetaSubst.mli +++ b/helm/ocaml/cic_unification/cicMetaSubst.mli @@ -23,8 +23,9 @@ * http://helm.cs.unibo.it/ *) -exception AssertFailure of string exception MetaSubstFailure of string +exception Uncertain of string +exception AssertFailure of string (* The entry (i,t) in a substitution means that *) (* (META i) have been instantiated with t. *) @@ -51,15 +52,6 @@ val apply_subst_reducing : val apply_subst_context : substitution -> Cic.context -> Cic.context val apply_subst_metasenv: substitution -> Cic.metasenv -> Cic.metasenv -(** {2 Pretty printers} *) - -val ppsubst: substitution -> string -val ppterm: substitution -> Cic.term -> string -val ppcontext: ?sep: string -> substitution -> Cic.context -> string -val ppterm_in_context: - substitution -> Cic.term -> (Cic.name option) list -> string -val ppmetasenv: ?sep: string -> Cic.metasenv -> substitution -> string - (* {2 Kernel wrappers} * From now on we recreate a kernel abstraction where substitutions are part of * the calculus *) @@ -82,6 +74,15 @@ val delift : (Cic.term option) list -> Cic.term -> Cic.term * Cic.metasenv * substitution +(** {2 Pretty printers} *) + +val ppsubst: substitution -> string +val ppterm: substitution -> Cic.term -> string +val ppcontext: ?sep: string -> substitution -> Cic.context -> string +val ppterm_in_context: + substitution -> Cic.term -> (Cic.name option) list -> string +val ppmetasenv: ?sep: string -> Cic.metasenv -> substitution -> string + (** {2 Format-like pretty printers} * As above with prototypes suitable for toplevel/ocamldebug printers. No * subsitutions are applied here since such printers are required to be invoked @@ -91,3 +92,4 @@ val delift : val fppsubst: Format.formatter -> substitution -> unit val fppterm: Format.formatter -> Cic.term -> unit val fppmetasenv: Format.formatter -> Cic.metasenv -> unit +