cartesian-product-switch is a macro for choosing the appropriate form to execute according to the combined results of multiple tests. This is a straightforward and efficient alternative to the convoluted ad-hoc conditionals one might otherwise resort to.
See the project's home for all details.
, convenience library
, Public Domain