• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Zcash
      • Des
      • X86isa
      • Sha-2
      • Yul
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Axe
      • Poseidon
      • Where-do-i-place-my-book
      • Aleo
        • Aleobft
        • Aleovm
        • Leo
          • Grammar
          • Early-version
            • Json2ast
            • Testing
            • Definition
              • Flattening
              • Abstract-syntax
              • Dynamic-semantics
              • Compilation
              • Static-semantics
              • Concrete-syntax
                • Pretty-printer
                  • Pprint-expression-algorithm
                  • Expr-grade
                  • Pprint-expression
                  • Expr-grade-<=
                  • Binop-expected-grades
                  • Expr->grade
                  • Pprint-char
                  • Pprint-console
                  • Pprint-var/const-sort
                  • Pprint-indent
                  • Pprint-constdecl
                  • Pprint-vardecl
                  • Pprint-statement
                  • Pprint-type
                  • *binops-opcall-print-names*
                  • Pprint-programdecl
                  • Pprint-line
                  • Pprint-group-literal
                  • Pprint-funparam-list
                  • *unops-opcall-print-names*
                    • Pprint-literal
                    • Pprint-coordinate
                    • Pprint-char-list
                    • Pprint-bitsize-to-utype
                    • Pprint-bitsize-to-itype
                    • Expr-grade-index
                    • Pprint-unop
                    • Pprint-programid
                    • Pprint-importdecl
                    • Pprint-identifier
                    • Pprint-funparam
                    • Pprint-compdecl
                    • Pprint-binop
                    • Pprint-locator
                    • Pprint-compdecl-list
                    • Pprint-address
                    • Pprint-structdecl
                    • Pprint-natural
                    • Pprint-mappingdecl
                    • Pprint-integer
                    • Pprint-fundecl
                    • Pprint-comma-separated
                    • Pprint-boolean
                    • Pprint-annotation-list
                    • Pprint-topdecl-list
                    • Pprint-importdecl-list
                    • Pprint-topdecl
                    • Pprint-annotation
                    • Pprint-file
                    • Pprint-line-blank
                  • Grammar
                  • Lexing-and-parsing
                  • Input-pretty-printer
                  • Output-pretty-printer
                  • Unicode-characters
                  • Concrete-syntax-trees
                  • Symbols
                  • Keywords
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Pretty-printer

    *unops-opcall-print-names*

    Unary operators to be printed as e.op().

    This constant is an alist that maps unary operator types to the identifier string used to print them using operator-call syntax.

    If a unary operator type is not a key in this map, then the unary operator will be printed in prefix form by pprint-unop.

    Some unary operators only have operator-call syntax and some have both operator-call syntax and prefix syntax. The former must be listed here to printable; the latter may be added here to force them to print in operator-call syntax.

    Definition: *unops-opcall-print-names*

    (defconst *unops-opcall-print-names*
      '((:abs . "abs")
        (:abs-wrapped . "abs_wrapped")
        (:double . "double")
        (:inv . "inv")
        (:square . "square")
        (:square-root . "square_root")))