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.
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.
Source
val appl :
int Lplib.Extra.StrMap.t ->
Format.formatter ->
Term.term ->
Term.term list ->
unitSource
val postfix :
int Lplib.Extra.StrMap.t ->
Format.formatter ->
Term.sym ->
Term.term list ->
unitSource
val quantifier :
int Lplib.Extra.StrMap.t ->
Format.formatter ->
Term.sym ->
Term.term list ->
unit