• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Error-checking
        • Apt
        • Abnf
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Prime-field-constraint-systems
        • Soft
        • Bv
        • Imp-language
        • Event-macros
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Java
        • C
        • Syntheto
        • Number-theory
        • Cryptography
        • Lists-light
        • File-io-light
        • Json
          • Parser-output-to-abstract-syntax
          • Abstract-syntax
            • Values
            • Object-member-values
            • Object-member-value?
            • Maybe-value
              • Maybe-value-fix
              • Maybe-value-case
              • Maybe-value-equiv
              • Maybe-value-some
              • Maybe-value-none
              • Maybe-valuep
            • Object-member-value
            • Object-has-member-p
            • Object-member-values-aux
          • Concrete-syntax
          • Patbind-pattern
        • Built-ins
        • Solidity
        • Axe
        • Std-extensions
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Execloader
      • Axe
    • Testing-utilities
    • Math
  • Abstract-syntax

Maybe-value

Fixtype of JSON values and nil.

This is an option type introduced by fty::defoption. Note that defoption is just a wrapper for fty::defflexsum, so there are :none and :some member types, a case macro, and so forth.

Member Types
:none → maybe-value-none
Represents that no maybe-value is available, i.e., Nothing or None.
:some → maybe-value-some
An available maybe-value, i.e., Just val or Some val.

Subtopics

Maybe-value-fix
Fixing function for maybe-value structures.
Maybe-value-case
Case macro for the different kinds of maybe-value structures.
Maybe-value-equiv
Basic equivalence relation for maybe-value structures.
Maybe-value-some
An available maybe-value, i.e., Just val or Some val.
Maybe-value-none
Represents that no maybe-value is available, i.e., Nothing or None.
Maybe-valuep
Recognizer for maybe-value structures.