code: @Deprecated
    public static <A,B> Parser<Pair<A,B>> pair(Parser<? extends A> p1, Parser<? extends B> p2) {
      return sequence(p1, p2, Pair::new);
    }
docs: A {@link Parser} that sequentially runs {@code p1} and {@code p2} and collects the results in a
  {@link Pair} object. Is equivalent to {@link #tuple(Parser, Parser)}.
  
  @deprecated Prefer to converting to your own object with a lambda.