From: Claudio Sacerdoti Coen Date: Thu, 16 Apr 2009 13:39:54 +0000 (+0000) Subject: Added ppterm. X-Git-Tag: make_still_working~4076 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=d6100bf05b70c3fdd7ee69d776d67d149c53f638;p=helm.git Added ppterm. --- diff --git a/helm/software/components/ng_tactics/nTacStatus.ml b/helm/software/components/ng_tactics/nTacStatus.ml index 55448ae2d..f8ee5f1e5 100644 --- a/helm/software/components/ng_tactics/nTacStatus.ml +++ b/helm/software/components/ng_tactics/nTacStatus.ml @@ -99,6 +99,12 @@ let term_of_cic_term s t c = s, t ;; +let ppterm status t = + let uri,height,metasenv,subst,obj = status.pstatus in + let _,context,t = t in + NCicPp.ppterm ~metasenv ~subst ~context t +;; + let disambiguate status t ty context = let status, expty = match ty with diff --git a/helm/software/components/ng_tactics/nTacStatus.mli b/helm/software/components/ng_tactics/nTacStatus.mli index c0f0ca4db..74b5366db 100644 --- a/helm/software/components/ng_tactics/nTacStatus.mli +++ b/helm/software/components/ng_tactics/nTacStatus.mli @@ -46,6 +46,7 @@ val analyse_indty: lowtac_status * (NReference.reference * int * NCic.term list * NCic.term list) +val ppterm: lowtac_status -> cic_term -> string val whd: lowtac_status -> ?delta:int -> NCic.context -> cic_term -> lowtac_status * cic_term