Packages

trait AssociativeFlatten[F[+_]] extends AnyRef

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.

Annotations
@implicitNotFound()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AssociativeFlatten
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def flatten[A](ffa: F[F[A]]): F[A]

    Flattens a value of type F[F[A]] to produce an F[A].