• 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
        • Evaluation
        • Program-equivalence
        • Functions
        • Packages
          • Lift-package-list
          • Import-lookup
          • Package-option
            • Package-option-fix
            • Package-option-case
            • Package-option-equiv
            • Package-option-some
            • Package-option-none
            • Package-optionp
          • Package-lookup
          • Package
          • Lift-package
          • Package-list
        • 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
  • Packages

Package-option

Fixtype of optional packages.

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

Subtopics

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