scala - descompacte genérico para HList
Eu tenho o seguinte problema Scala:
Escreva uma função que terá uma lista de HLists
List(23 :: “a” :: 1.0d :: HNil, 24 :: “b” :: 2.0d :: HNil) # this is list of hlists
e retorne HList of Lists
List[Int](23, 24) :: List[String](“a”, “b") :: List[Double](1.0d, 2.0d) :: HNil # this is hlist of lists
Isso é como descompactar genérico. É possível para HList arbitrário?
Obrigado.