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