I have uploaded a new version of my Alternatives library. In addition to the
ALTERNATIVES macro, there is an
ALTERNATIVES* macro which allows one to specify a name for the set of choices. Then, one can check the
DOCUMENTATION to see which alternative was last macroexpanded.
"Always pick the letter A."
"Choose any letter with equal probability"
(documentation 'random-letter-algorithm 'alt:alternatives)
Always pick the letter A."