traitUnion[L <: HList, M <: HList] extends DepFn2[L, M] with Serializable
Type class supporting HList union. In case of duplicate types, this operation is a order-preserving multi-set union.
If type T appears n times in this HList and m > n times in M, the resulting HList contains the first n elements
of type T in this HList, followed by the last m - n element of type T in M.
Linear Supertypes
Serializable, Serializable, DepFn2[L, M], AnyRef, Any
Type class supporting
HList
union. In case of duplicate types, this operation is a order-preserving multi-set union. If typeT
appears n times in thisHList
and m > n times inM
, the resultingHList
contains the first n elements of typeT
in thisHList
, followed by the last m - n element of typeT
inM
.