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