zio.prelude.AssociativeFlatten
See theAssociativeFlatten companion object
AssociativeFlatten
describes a type that can be "flattened" in an associative way. For example, if we have a list of lists of lists, we can flatten it by either flattening the two inner lists and then flattening the resulting lists, or flattening the two outer lists and then flattening that resulting list. Because the operation is associative, the resulting list is the same either way.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait CovariantDeriveEqualIdentityFlatten[F]trait IdentityFlatten[F]
Members list
In this article