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