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