A typeclass that defines how a certain data structure can be unzipped and zipped back.
An instance of Unzip can be automatically derived for a case class C with a single field
of type List[C]. In a similar situation, but with a different collection class used, say, Vector,
an instance can still be derived like so:
A typeclass that defines how a certain data structure can be unzipped and zipped back.
An instance of Unzip can be automatically derived for a case class C with a single field of type List[C]. In a similar situation, but with a different collection class used, say, Vector, an instance can still be derived like so: