code: function alt(first, ...fragments) {
    for (let fragment of fragments) {
      first = altPair(first, fragment);
    }
    return first;
  }
docs: Alteration factory.
  
  Creates a alteration NFA for (at least) two NFA-fragments.