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