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