package lambdapi
Module Core.PrintSource
Pretty-printing for the core AST.
The functions of this module are used for printing terms and other objects defined in the Term module. This is mainly used for displaying log messages, and feedback in case of success or error while type-checking terms or testing convertibility.
Current signature state.
Flag for printing the type of uninstanciated metavariables. Remark: this does not generate parsable terms; use for debug only.
Source
val safe_unbind_no_check :
int Lplib.Extra.StrMap.t ->
Term.binder ->
(Term.var * Term.term) * int Lplib.Extra.StrMap.tSource
val safe_unbind :
int Lplib.Extra.StrMap.t ->
Term.binder ->
(Term.var * Term.term) * int Lplib.Extra.StrMap.tException raised when trying to convert a term into a nat.
are_quant_args args returns true iff args has only one argument that is an abstraction.
The possible priority levels are `Func (top level, including abstraction and product), `Appl (application) and `Atom (smallest priority).
Source
val pp :
[> `Appl | `Atom | `Func ] ->
int Lplib.Extra.StrMap.t ->
Format.formatter ->
Term.term ->
unitSource
val quantifier :
int Lplib.Extra.StrMap.t ->
Format.formatter ->
Term.sym ->
Term.term list ->
unit