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