All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cats.ParallelArityFunctions2.scala Maven / Gradle / Ivy

The newest version!
// auto-generated boilerplate by /project/Boilerplate.scala
package cats

/**
 * @groupprio Ungrouped 0
 *
 * @groupname ParTupleArity parTuple arity
 * @groupdesc ParTupleArity Higher-arity parTuple methods
 * @groupprio ParTupleArity 999
 */
abstract class ParallelArityFunctions2 extends ParallelArityFunctions {
  /** @group ParTupleArity */
  def parTuple2[M[_], A0, A1](m0:M[A0], m1:M[A1])(implicit p: NonEmptyParallel[M]): M[(A0, A1)] =
    p.flatMap.map(Parallel.parProduct(m0, m1)) { case (a0, a1) => (a0, a1) }
  /** @group ParTupleArity */
  def parTuple3[M[_], A0, A1, A2](m0:M[A0], m1:M[A1], m2:M[A2])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, m2))) { case (a0, (a1, a2)) => (a0, a1, a2) }
  /** @group ParTupleArity */
  def parTuple4[M[_], A0, A1, A2, A3](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, m3)))) { case (a0, (a1, (a2, a3))) => (a0, a1, a2, a3) }
  /** @group ParTupleArity */
  def parTuple5[M[_], A0, A1, A2, A3, A4](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, m4))))) { case (a0, (a1, (a2, (a3, a4)))) => (a0, a1, a2, a3, a4) }
  /** @group ParTupleArity */
  def parTuple6[M[_], A0, A1, A2, A3, A4, A5](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, m5)))))) { case (a0, (a1, (a2, (a3, (a4, a5))))) => (a0, a1, a2, a3, a4, a5) }
  /** @group ParTupleArity */
  def parTuple7[M[_], A0, A1, A2, A3, A4, A5, A6](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, m6))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, a6)))))) => (a0, a1, a2, a3, a4, a5, a6) }
  /** @group ParTupleArity */
  def parTuple8[M[_], A0, A1, A2, A3, A4, A5, A6, A7](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, m7)))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, a7))))))) => (a0, a1, a2, a3, a4, a5, a6, a7) }
  /** @group ParTupleArity */
  def parTuple9[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, m8))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, a8)))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8) }
  /** @group ParTupleArity */
  def parTuple10[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, m9)))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, a9))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) }
  /** @group ParTupleArity */
  def parTuple11[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, m10))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, a10)))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) }
  /** @group ParTupleArity */
  def parTuple12[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, m11)))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, a11))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) }
  /** @group ParTupleArity */
  def parTuple13[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, m12))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, a12)))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) }
  /** @group ParTupleArity */
  def parTuple14[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, m13)))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, a13))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) }
  /** @group ParTupleArity */
  def parTuple15[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13], m14:M[A14])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, Parallel.parProduct(m13, m14))))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, (a13, a14)))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) }
  /** @group ParTupleArity */
  def parTuple16[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13], m14:M[A14], m15:M[A15])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, Parallel.parProduct(m13, Parallel.parProduct(m14, m15)))))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, (a13, (a14, a15))))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) }
  /** @group ParTupleArity */
  def parTuple17[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13], m14:M[A14], m15:M[A15], m16:M[A16])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, Parallel.parProduct(m13, Parallel.parProduct(m14, Parallel.parProduct(m15, m16))))))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, (a13, (a14, (a15, a16)))))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) }
  /** @group ParTupleArity */
  def parTuple18[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13], m14:M[A14], m15:M[A15], m16:M[A16], m17:M[A17])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, Parallel.parProduct(m13, Parallel.parProduct(m14, Parallel.parProduct(m15, Parallel.parProduct(m16, m17)))))))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, (a13, (a14, (a15, (a16, a17))))))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17) }
  /** @group ParTupleArity */
  def parTuple19[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13], m14:M[A14], m15:M[A15], m16:M[A16], m17:M[A17], m18:M[A18])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, Parallel.parProduct(m13, Parallel.parProduct(m14, Parallel.parProduct(m15, Parallel.parProduct(m16, Parallel.parProduct(m17, m18))))))))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, (a13, (a14, (a15, (a16, (a17, a18)))))))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) }
  /** @group ParTupleArity */
  def parTuple20[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13], m14:M[A14], m15:M[A15], m16:M[A16], m17:M[A17], m18:M[A18], m19:M[A19])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, Parallel.parProduct(m13, Parallel.parProduct(m14, Parallel.parProduct(m15, Parallel.parProduct(m16, Parallel.parProduct(m17, Parallel.parProduct(m18, m19)))))))))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, (a13, (a14, (a15, (a16, (a17, (a18, a19))))))))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19) }
  /** @group ParTupleArity */
  def parTuple21[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13], m14:M[A14], m15:M[A15], m16:M[A16], m17:M[A17], m18:M[A18], m19:M[A19], m20:M[A20])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, Parallel.parProduct(m13, Parallel.parProduct(m14, Parallel.parProduct(m15, Parallel.parProduct(m16, Parallel.parProduct(m17, Parallel.parProduct(m18, Parallel.parProduct(m19, m20))))))))))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, (a13, (a14, (a15, (a16, (a17, (a18, (a19, a20)))))))))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20) }
  /** @group ParTupleArity */
  def parTuple22[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21](m0:M[A0], m1:M[A1], m2:M[A2], m3:M[A3], m4:M[A4], m5:M[A5], m6:M[A6], m7:M[A7], m8:M[A8], m9:M[A9], m10:M[A10], m11:M[A11], m12:M[A12], m13:M[A13], m14:M[A14], m15:M[A15], m16:M[A16], m17:M[A17], m18:M[A18], m19:M[A19], m20:M[A20], m21:M[A21])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21)] =
    p.flatMap.map(Parallel.parProduct(m0, Parallel.parProduct(m1, Parallel.parProduct(m2, Parallel.parProduct(m3, Parallel.parProduct(m4, Parallel.parProduct(m5, Parallel.parProduct(m6, Parallel.parProduct(m7, Parallel.parProduct(m8, Parallel.parProduct(m9, Parallel.parProduct(m10, Parallel.parProduct(m11, Parallel.parProduct(m12, Parallel.parProduct(m13, Parallel.parProduct(m14, Parallel.parProduct(m15, Parallel.parProduct(m16, Parallel.parProduct(m17, Parallel.parProduct(m18, Parallel.parProduct(m19, Parallel.parProduct(m20, m21)))))))))))))))))))))) { case (a0, (a1, (a2, (a3, (a4, (a5, (a6, (a7, (a8, (a9, (a10, (a11, (a12, (a13, (a14, (a15, (a16, (a17, (a18, (a19, (a20, a21))))))))))))))))))))) => (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21) }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy