Case macro for the different kinds of maybe-function-specification structures.
This is an ACL2::fty sum-type case macro, typically introduced by fty::defflexsum or fty::deftagsum. It allows you to safely check the type of a maybe-function-specification structure, or to split into cases based on its type.
In its short form,
(maybe-function-specification-case x :none)
can be used to determine whether
In its longer form,
(maybe-function-specification-case x :none ... :some ...)
It is also possible to consolidate ``uninteresting'' cases using
For convenience, the case macro automatically binds the fields of