• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
        • Syntax-for-tools
        • Atc
          • Atc-implementation
            • Atc-abstract-syntax
            • Atc-pretty-printer
            • Atc-event-and-code-generation
            • Fty-pseudo-term-utilities
            • Atc-term-recognizers
            • Atc-input-processing
            • Atc-shallow-embedding
              • Defstruct
              • Defobject
                • Defobject-implementation
                  • Defobject-info
                    • Defobject-info-fix
                    • Make-defobject-info
                    • Defobject-info-equiv
                    • Defobject-infop
                    • Defobject-info->recognizer
                    • Defobject-info->name-symbol
                    • Defobject-info->name-ident
                    • Defobject-info->initializer
                    • Change-defobject-info
                      • Defobject-info->init
                      • Defobject-info->call
                      • Defobject-info->type
                    • Defobject-gen-everything
                    • Defobject-process-name
                    • Defobject-info-option
                    • Defobject-term-to-expr
                    • Term-checkers-common
                    • Defobject-process-init
                    • Defobject-process-init-term
                    • Defobject-table-record-event
                    • Defobject-process-type
                    • Defobject-process-inputs
                    • Defobject-table-lookup
                    • Defobject-process-init-terms
                    • Defobject-process-inputs-and-gen-everything
                    • Defobject-fn
                    • Defobject-table-definition
                    • *defobject-table*
                    • Defobject-macro-definition
                • Atc-let-designations
                • Pointer-types
                • Atc-conditional-expressions
              • Atc-process-inputs-and-gen-everything
              • Atc-table
              • Atc-fn
              • Atc-pretty-printing-options
              • Atc-types
              • Atc-macro-definition
            • Atc-tutorial
          • Language
          • Representation
          • Transformation-tools
          • Insertion-sort
          • Pack
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Riscv
        • Bitcoin
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Defobject-info

    Change-defobject-info

    Modifying constructor for defobject-info structures.

    Syntax
    (change-defobject-info x 
                           [:name-ident <name-ident>] 
                           [:name-symbol <name-symbol>] 
                           [:type <type>] 
                           [:init <init>] 
                           [:recognizer <recognizer>] 
                           [:initializer <initializer>] 
                           [:call <call>]) 
    

    This is an often useful alternative to make-defobject-info.

    We construct a new defobject-info structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by fty::defprod.

    Macro: change-defobject-info

    (defmacro change-defobject-info (x &rest args)
      (std::change-aggregate
           'defobject-info
           x args
           '((:name-ident . defobject-info->name-ident)
             (:name-symbol . defobject-info->name-symbol)
             (:type . defobject-info->type)
             (:init . defobject-info->init)
             (:recognizer . defobject-info->recognizer)
             (:initializer . defobject-info->initializer)
             (:call . defobject-info->call))
           'change-defobject-info
           'nil))