// i must point at the opening bracket ("<")
// returns first type arg (?)
sS tok_scanTypeArg(LS tok, int i) {
  int j = tok_findEndOfTypeArg(tok, i);
  ret joinSubList(tok, i, j+1);
}