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.