package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.2.tar.gz
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c

doc/coq-core.printing/Ppextend/index.html

Module PpextendSource

Pretty-print.
Sourcetype ppbox =
  1. | PpHB
  2. | PpHOVB of int
  3. | PpHVB of int
  4. | PpVB of int
Sourcetype ppcut =
  1. | PpBrk of int * int
  2. | PpFnl
Sourceval ppcmd_of_box : ppbox -> Pp.t -> Pp.t
Sourceval ppcmd_of_cut : ppcut -> Pp.t
Printing rules for notations
Sourcetype pattern_quote_style =
  1. | QuotedPattern
  2. | NotQuotedPattern
Sourcetype unparsing =
  1. | UnpMetaVar of Constrexpr.notation_entry_relative_level
  2. | UnpBinderMetaVar of Constrexpr.notation_entry_relative_level * pattern_quote_style
  3. | UnpListMetaVar of Constrexpr.notation_entry_relative_level * unparsing list
  4. | UnpBinderListMetaVar of bool * bool * unparsing list
  5. | UnpTerminal of string
  6. | UnpBox of ppbox * unparsing Loc.located list
  7. | UnpCut of ppcut

Declare and look for the printing rule for symbolic notations

Sourcetype unparsing_rule = unparsing list
Sourceval unparsing_eq : unparsing -> unparsing -> bool
Sourcetype notation_printing_rules = {
  1. notation_printing_unparsing : unparsing_rule;
  2. notation_printing_level : Constrexpr.entry_level;
}
Sourcetype generic_notation_printing_rules = {
  1. notation_printing_reserved : bool;
  2. notation_printing_rules : notation_printing_rules;
}
Sourceval declare_generic_notation_printing_rules : Constrexpr.notation -> generic_notation_printing_rules -> unit
Sourceval declare_specific_notation_printing_rules : Constrexpr.specific_notation -> notation_printing_rules -> unit
Sourceval has_generic_notation_printing_rule : Constrexpr.notation -> bool
Sourceval find_generic_notation_printing_rule : Constrexpr.notation -> generic_notation_printing_rules
Sourceval find_specific_notation_printing_rule : Constrexpr.specific_notation -> notation_printing_rules
OCaml

Innovation. Community. Security.