trait
Demixin[ConjunctionType] 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): (Demixin[ConjunctionType], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Demixin[ConjunctionType]) ⇒ Boolean, msg: ⇒ Any): Demixin[ConjunctionType]
-
def
ensuring(cond: (Demixin[ConjunctionType]) ⇒ Boolean): Demixin[ConjunctionType]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Demixin[ConjunctionType]
-
def
ensuring(cond: Boolean): Demixin[ConjunctionType]
-
-
-
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): (Demixin[ConjunctionType], B)
Inherited by implicit conversion any2stringadd from
Demixin[ConjunctionType] to any2stringadd[Demixin[ConjunctionType]]
Inherited by implicit conversion StringFormat from
Demixin[ConjunctionType] to StringFormat[Demixin[ConjunctionType]]
Inherited by implicit conversion Ensuring from
Demixin[ConjunctionType] to Ensuring[Demixin[ConjunctionType]]
Inherited by implicit conversion ArrowAssoc from
Demixin[ConjunctionType] to ArrowAssoc[Demixin[ConjunctionType]]
A type class that converts a mix-in type to shapeless.HList.
Common imports
You may want to use Demixin with shapeless.HList.
import shapeless._
The Demixin type class can be summoned from Demixin.apply method:
Out should be a shapeless.HList of each type components in the mix-in type
ConjunctionType
."implicitly[demixin.Out =:= (A :: B :: C.type :: String :: Int :: HNil)]" should compile
The elements in Out should keep the same order as type components in
ConjunctionType
."implicitly[demixin.Out =:!= (String :: A :: B :: C.type :: Int :: HNil)]" should compile
Out of Demixin on scala.Any should be shapeless.HNil
Out of Demixin on non-mixed-in types other than scala.Any should be a shapeless.HList that contains only one element