sealed
trait
TailSwitch[L <: HList, T <: HList, R <: HList] extends AnyRef
Type Members
-
abstract
type
Out <: HList
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (TailSwitch[L, T, R], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (TailSwitch[L, T, R], B)
Inherited by implicit conversion any2stringadd from
TailSwitch[L, T, R] to any2stringadd[TailSwitch[L, T, R]]
Inherited by implicit conversion StringFormat from
TailSwitch[L, T, R] to StringFormat[TailSwitch[L, T, R]]
Inherited by implicit conversion ArrowAssoc from
TailSwitch[L, T, R] to ArrowAssoc[TailSwitch[L, T, R]]
type-level implementation of this logic: Out = R if T has a tail of type L (L dropRight T) ::: R if L has a tail of type T