• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
          • Syntax-for-tools
          • Atc
          • Transformation-tools
          • Language
            • Abstract-syntax
            • Integer-ranges
            • Implementation-environments
            • Dynamic-semantics
            • Static-semantics
            • Grammar
            • Types
            • Integer-formats-definitions
            • Computation-states
            • Portable-ascii-identifiers
            • Values
              • Pointer
              • Member-types-of-member-values
              • Expr-value
              • Member-value-list->value-list
              • Member-value-list->name-list
              • Type-list-of-value-list
              • Type-of-value
              • Stmt-value
              • Value-option
              • Expr-value-option
              • Init-value
                • Init-value-fix
                • Init-value-case
                • Init-value-equiv
                • Init-valuep
                • Init-value-single
                  • Init-value-single->get
                  • Make-init-value-single
                  • Change-init-value-single
                  • Init-value-list
                  • Init-value-kind
                • Value-result
                • Type-of-value-option
                • Value-list-result
                • Stmt-value-result
                • Member-value-list-result
                • Init-value-result
                • Expr-value-result
                • Expr-value-option-result
                • Value-option-result
                • Signed/unsigned-byte-p-of-integer-values
                • Bounds-of-integer-values
                • Value-promoted-arithmeticp
                • Type-option-of-stmt-value
                • Member-type-of-member-value
                • Init-type-of-init-value
                • Value-unsigned-integerp
                • Value-signed-integerp
                • Value-integerp
                • Value-arithmeticp
                • Value-scalarp
                • Value-realp
                • Values/membervalues
              • Integer-operations
              • Object-designators
              • Operations
              • Errors
              • Tag-environments
              • Function-environments
              • Character-sets
              • Flexible-array-member-removal
              • Arithmetic-operations
              • Pointer-operations
              • Real-operations
              • Array-operations
              • Scalar-operations
              • Structure-operations
            • Representation
            • Insertion-sort
            • Pack
          • Soft
          • Bv
          • Imp-language
          • Ethereum
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Init-value-single

    Change-init-value-single

    Modifying constructor for init-value-single structures.

    Syntax
    (change-init-value-single x 
                              [:get <get>]) 
    

    This is an often useful alternative to make-init-value-single.

    We construct a new init-value-single 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-init-value-single

    (defmacro change-init-value-single (x &rest args)
      (std::change-aggregate 'init-value-single
                             x
                             args '((:get . init-value-single->get))
                             'change-init-value-single
                             'nil))