Yields every word over an alphabet in shortlex order. A shorter word comes first, and
words of one length come in the order of the dictionary, with the symbols in the order of
the alphabet. The enumeration starts with the empty word. For an alphabet without symbols
it ends there, and for every other alphabet it goes on until the caller stops it.
Yields every word over an alphabet in shortlex order. A shorter word comes first, and words of one length come in the order of the dictionary, with the symbols in the order of the alphabet. The enumeration starts with the empty word. For an alphabet without symbols it ends there, and for every other alphabet it goes on until the caller stops it.