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