static bool endsWithLetter(S s) { ret nempty(s) && isLetter(last(s)); }