• 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
        • Soft
        • Bv
        • Imp-language
        • Ethereum
          • Mmp-trees
          • Semaphore
          • Database
          • Cryptography
          • Rlp
          • Transactions
            • Make-signed-transaction
            • Transaction
            • Maybe-byte-list20
              • Maybe-byte-list20-fix
              • Maybe-byte-list20-equiv
              • Maybe-byte-list20-case
              • Maybe-byte-list20-some
              • Maybe-byte-list20-none
                • Make-maybe-byte-list20-none
                • Change-maybe-byte-list20-none
                • Maybe-byte-list20p
              • Rlp-decode-transaction
              • Rlp-encode-transaction
              • Rlp-transaction-encoding-p
            • Hex-prefix
            • Basics
            • Addresses
          • 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
    • Maybe-byte-list20-none

    Change-maybe-byte-list20-none

    Modifying constructor for maybe-byte-list20-none structures.

    Syntax
    (change-maybe-byte-list20-none x 
                                   ) 
    

    This is an often useful alternative to make-maybe-byte-list20-none.

    We construct a new maybe-byte-list20-none 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-maybe-byte-list20-none

    (defmacro change-maybe-byte-list20-none (x &rest args)
      (std::change-aggregate 'maybe-byte-list20-none
                             x args 'nil
                             'change-maybe-byte-list20-none
                             'nil))