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