zipper.Unzip
See theUnzip companion object
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:
implicit val instance = Unzip.For[C, Vector].derive
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article