traitIntersection[L <: HList, M <: HList] extends DepFn1[L] with Serializable
Type class supporting HList intersection. In case of duplicate types, this operation is a multiset intersection.
If type T appears n times in this HList and m < n times in M, the resulting HList contains the first m
elements of type T in this HList.
Also available if M contains types absent in this HList.
Linear Supertypes
Serializable, Serializable, DepFn1[L], AnyRef, Any
Type class supporting
HList
intersection. In case of duplicate types, this operation is a multiset intersection. If typeT
appears n times in thisHList
and m < n times inM
, the resultingHList
contains the first m elements of typeT
in thisHList
.Also available if
M
contains types absent in thisHList
.