static bool startsWithSpace(S s) { ret nempty(s) && isSpace(first(s)); }