static ItIt allWordsOfAlphabetWithLength(int length, S alphabet) { ret mapI join(outerProduct(rep(n, characters(alphabet)))); }