Const-option
Fixtype of optional constants.
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 → const-option-none
- Represents that no const-option is available, i.e., Nothing or None.
- :some → const-option-some
- An available const-option, i.e., Just val or Some val.
Constans are defined in const.
Subtopics
- Const-option-fix
- Fixing function for const-option structures.
- Const-option-case
- Case macro for the different kinds of const-option structures.
- Const-option-equiv
- Basic equivalence relation for const-option structures.
- Const-option-some
- An available const-option, i.e., Just val or Some val.
- Const-option-none
- Represents that no const-option is available, i.e., Nothing or None.
- Const-optionp
- Recognizer for const-option structures.