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

zhttp.endpoint.CanCombine.scala Maven / Gradle / Ivy

There is a newer version: 2.0.0-RC11
Show newest version
package zhttp.endpoint

sealed trait CanCombine[A, B] {
  type Out
}

object CanCombine {
  type Aux[A, B, C] = CanCombine[A, B] {
    type Out = C
  }

  // scalafmt: { maxColumn = 1200 }
  implicit def combine0[A, B](implicit ev: A =:= Unit): CanCombine.Aux[A, B, B]                                                                                                                                                                                                                                                                                                                     = null
  implicit def combine1[A, B](implicit evA: CanExtract[A], evB: CanExtract[B]): CanCombine.Aux[A, B, (A, B)]                                                                                                                                                                                                                                                                                        = null
  implicit def combine2[A, B, T1, T2](implicit evA: A =:= (T1, T2), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, B)]                                                                                                                                                                                                                                                                          = null
  implicit def combine3[A, B, T1, T2, T3](implicit evA: A =:= (T1, T2, T3), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, B)]                                                                                                                                                                                                                                                              = null
  implicit def combine4[A, B, T1, T2, T3, T4](implicit evA: A =:= (T1, T2, T3, T4), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, B)]                                                                                                                                                                                                                                                  = null
  implicit def combine5[A, B, T1, T2, T3, T4, T5](implicit evA: A =:= (T1, T2, T3, T4, T5), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, B)]                                                                                                                                                                                                                                      = null
  implicit def combine6[A, B, T1, T2, T3, T4, T5, T6](implicit evA: A =:= (T1, T2, T3, T4, T5, T6), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, B)]                                                                                                                                                                                                                          = null
  implicit def combine7[A, B, T1, T2, T3, T4, T5, T6, T7](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, B)]                                                                                                                                                                                                              = null
  implicit def combine8[A, B, T1, T2, T3, T4, T5, T6, T7, T8](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, B)]                                                                                                                                                                                                  = null
  implicit def combine9[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, B)]                                                                                                                                                                                      = null
  implicit def combine10[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, B)]                                                                                                                                                                      = null
  implicit def combine11[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, B)]                                                                                                                                                       = null
  implicit def combine12[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, B)]                                                                                                                                        = null
  implicit def combine13[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, B)]                                                                                                                         = null
  implicit def combine14[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, B)]                                                                                                          = null
  implicit def combine15[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, B)]                                                                                           = null
  implicit def combine16[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, B)]                                                                            = null
  implicit def combine17[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, B)]                                                             = null
  implicit def combine18[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, B)]                                              = null
  implicit def combine19[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, B)]                               = null
  implicit def combine20[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, B)]                = null
  implicit def combine21[A, B, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](implicit evA: A =:= (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21), evB: CanExtract[B]): CanCombine.Aux[A, B, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, B)] = null
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy