X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCicPp.mli;h=3b4cffb6d69711c397875fa41487837df0363bd7;hb=806ecbdd749ecf2a1cabff52b41cf748fe022401;hp=5a7fd75a9d27f148e558467fa85965aff8b025c8;hpb=9e86c8d0eb60817cc583568343b265dddceae93d;p=helm.git diff --git a/helm/software/components/ng_kernel/nCicPp.mli b/helm/software/components/ng_kernel/nCicPp.mli index 5a7fd75a9..3b4cffb6d 100644 --- a/helm/software/components/ng_kernel/nCicPp.mli +++ b/helm/software/components/ng_kernel/nCicPp.mli @@ -1,22 +1,69 @@ -val set_ppterm: - (context:NCic.context -> - subst:NCic.substitution -> - metasenv:NCic.metasenv -> - ?inside_fix:bool -> - NCic.term -> string) -> unit +(* + ||M|| This file is part of HELM, an Hypertextual, Electronic + ||A|| Library of Mathematics, developed at the Computer Science + ||T|| Department, University of Bologna, Italy. + ||I|| + ||T|| HELM is free software; you can redistribute it and/or + ||A|| modify it under the terms of the GNU General Public License + \ / version 2 or (at your option) any later version. + \ / This software is distributed as is, NO WARRANTY. + V_______________________________________________________________ *) + +(* $Id$ *) + +val set_head_beta_reduce: (upto:int -> NCic.term -> NCic.term) -> unit +val set_get_obj: (NUri.uri -> NCic.obj) -> unit + +val r2s: bool -> NReference.reference -> string val ppterm: context:NCic.context -> subst:NCic.substitution -> metasenv:NCic.metasenv -> + ?margin:int -> ?inside_fix:bool -> NCic.term -> string -val trivial_pp_term: - context:NCic.context -> - subst:NCic.substitution -> - metasenv:NCic.metasenv -> - ?inside_fix:bool -> - NCic.term -> string +val ppcontext: + ?sep:string -> + subst:NCic.substitution -> + metasenv:NCic.metasenv -> + NCic.context -> string + +val ppmetasenv: + subst:NCic.substitution -> NCic.metasenv -> string + +val ppsubst: metasenv:NCic.metasenv -> NCic.substitution -> string val ppobj: NCic.obj -> string + +(* variants that use a formatter +module Format : sig + val ppterm: + formatter:Format.formatter -> + context:NCic.context -> + subst:NCic.substitution -> + metasenv:NCic.metasenv -> + ?margin:int -> + ?inside_fix:bool -> + NCic.term -> unit + + val ppcontext: + ?sep:string -> + formatter:Format.formatter -> + subst:NCic.substitution -> + metasenv:NCic.metasenv -> + NCic.context -> unit + + val ppmetasenv: + formatter:Format.formatter -> + subst:NCic.substitution -> NCic.metasenv -> unit + + val ppsubst: + formatter:Format.formatter -> + metasenv:NCic.metasenv -> NCic.substitution -> unit + + val ppobj: + formatter:Format.formatter -> NCic.obj -> unit +end +*)