currently I have a HList with more than 22 fields and now I want to split it to
2-3 case classes, is there an easy functional way to do it? Currently I use the following syntax:
CaseClass1(c.head, c.tail.head, c.tail.tail.head, etc...)
However that doesn't seem to be right since I have a really big tail part now..
Using the tuple functionality in shapeless you could do: