• 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
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
        • Atj
        • Aij
        • Language
          • Syntax
          • Semantics
            • Primitive-function-macros
            • Primitive-values
            • Floating-point-placeholders
            • Pointers
            • Floating-point-value-set-parameters
            • Values
              • Jvalue
              • Jvaluex
                • Jvaluex-fix
                • Jvaluex-equiv
                • Jvaluex-reference
                • Jvaluex-primitive
                  • Jvaluex-primitive->get
                  • Make-jvaluex-primitive
                  • Change-jvaluex-primitive
                  • Jvaluexp
                  • Jvaluex-kind
              • Primitive-operations
              • Primitive-conversions
              • Reference-values
        • 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
    • Jvaluex-primitive

    Change-jvaluex-primitive

    Modifying constructor for jvaluex-primitive structures.

    Syntax
    (change-jvaluex-primitive x 
                              [:get <get>]) 
    

    This is an often useful alternative to make-jvaluex-primitive.

    We construct a new jvaluex-primitive 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-jvaluex-primitive

    (defmacro change-jvaluex-primitive (x &rest args)
      (std::change-aggregate 'jvaluex-primitive
                             x
                             args '((:get . jvaluex-primitive->get))
                             'change-jvaluex-primitive
                             'nil))