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