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