• 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
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
        • Primitive-functions
        • Translated-terms
        • Values
          • Value
          • Symbol-value
          • Lower-symbol
          • Lift-symbol-list
          • Symbol-value-option
          • Value-option
            • Value-option-fix
            • Value-option-case
            • Value-option-equiv
            • Value-option-some
            • Value-optionp
            • Value-option-none
          • Lift-value
          • Lift-symbol
          • Value-rational->get
          • Value-integer->get
          • Value-case-rational
          • Value-case-integer
          • Value-symbol-list
          • Lower-value
          • Value-list-of
          • Value-list
          • Symbol-value-list
          • Symbol-value-set
          • Value-t
          • Value-nil
        • Evaluation
        • Program-equivalence
        • Functions
        • Packages
        • Programs
        • Interpreter
        • Evaluation-states
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Values

Value-option

Fixtype of optional values.

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 → value-option-none
Represents that no value-option is available, i.e., Nothing or None.
:some → value-option-some
An available value-option, i.e., Just val or Some val.

Subtopics

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