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