docs: static Matcher head(Matcher matcher) {
      if (matcher instanceof SeqMatcher) {
        List<Matcher> ms = matcher.<SeqMatcher>as().matchers();
        return ms.get(0);
      } else {
        return matcher;
      }
    }