• 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
            • Formalized-subset
            • Mapping-to-language-definition
            • Input-files
            • Compilation-database
            • Printer
            • Output-files
            • Abstract-syntax-operations
            • Implementation-environments
            • Abstract-syntax
            • Concrete-syntax
              • Grammar
              • Files
              • File-paths
                • Filepath-option
                  • Filepath-option-fix
                  • Filepath-option-case
                  • Filepath-option-equiv
                  • Filepath-option-some
                    • Filepath-option-some->val
                    • Make-filepath-option-some
                      • Change-filepath-option-some
                    • Filepath-option-none
                    • Filepath-optionp
                  • Filepath
                  • Irr-filepath
                  • Filepath-set
                  • Filepath-list
                • Grammar-characters
              • Disambiguation
              • Validation
              • Gcc-builtins
              • Preprocessing
              • Parsing
            • Atc
            • Transformation-tools
            • Language
            • 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
    • Filepath-option-some

    Make-filepath-option-some

    Basic constructor macro for filepath-option-some structures.

    Syntax
    (make-filepath-option-some [:val <val>]) 
    

    This is the usual way to construct filepath-option-some structures. It simply conses together a structure with the specified fields.

    This macro generates a new filepath-option-some structure from scratch. See also change-filepath-option-some, which can "change" an existing structure, instead.

    Definition

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

    Macro: make-filepath-option-some

    (defmacro make-filepath-option-some (&rest args)
      (std::make-aggregate 'filepath-option-some
                           args '((:val))
                           'make-filepath-option-some
                           nil))

    Function: filepath-option-some

    (defun filepath-option-some (fty::val)
      (declare (xargs :guard (filepathp fty::val)))
      (declare (xargs :guard t))
      (let ((__function__ 'filepath-option-some))
        (declare (ignorable __function__))
        (b* ((fty::val (mbe :logic (filepath-fix fty::val)
                            :exec fty::val)))
          fty::val)))