Maybe-stat
Union of wallet states and nil.
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-stat-none
- Represents that no maybe-stat is available, i.e., Nothing or None.
- :some → maybe-stat-some
- An available maybe-stat, i.e., Just val or Some val.
Subtopics
- Maybe-stat-fix
- Fixing function for maybe-stat structures.
- Maybe-stat-case
- Case macro for the different kinds of maybe-stat structures.
- Maybe-stat-equiv
- Basic equivalence relation for maybe-stat structures.
- Maybe-stat-some
- An available maybe-stat, i.e., Just val or Some val.
- Maybe-stat-none
- Represents that no maybe-stat is available, i.e., Nothing or None.
- Maybe-statp
- Recognizer for maybe-stat structures.