Packages

c

zio.prelude.NonEmptyForEachSyntax

NonEmptyForEachOps

implicit class NonEmptyForEachOps[F[+_], A] extends AnyRef

Provides infix syntax for traversing collections.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEmptyForEachOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NonEmptyForEachOps(self: F[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def forEach1[G[+_], B](f: (A) ⇒ G[B])(implicit arg0: AssociativeBoth[G], arg1: Covariant[G], F: NonEmptyForEach[F]): G[F[B]]

    Traverse each element in the collection using the specified effectual function f, returning a new collection with the results in the context of the effect.

  10. def forEach1_[G[+_]](f: (A) ⇒ G[Any])(implicit arg0: AssociativeBoth[G], arg1: Covariant[G], F: NonEmptyForEach[F]): G[Unit]

    Traverses each element in the collection with the specified effectual function f purely for its effects.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def reduce1(implicit F: NonEmptyForEach[F], A: Associative[A]): A

    Reduces the non-empty collection of associative elements.

  18. def reduceAll(f: (A, A) ⇒ A)(implicit F: NonEmptyForEach[F]): A

    Reduces the collection to a summary value using the binary function f.

  19. def reduceIdempotent1(implicit F: NonEmptyForEach[F], ia: Idempotent[A], ea: Equal[A]): A

    Reduces the collection to a summary value using the idempotent operation, returning None if the collection is empty.

  20. def reduceMap[B](f: (A) ⇒ B)(implicit arg0: Associative[B], F: NonEmptyForEach[F]): B

    Maps each element of the collection to a type B for which a combine operation is defined using the function f and then reduces those values to a single summary using the combine operation.

  21. def reduceMapLeft[B](map: (A) ⇒ B)(reduce: (B, A) ⇒ B)(implicit F: NonEmptyForEach[F]): B

    Reduces the elements of this collection from left to right using the function map to transform the first value to the type B and then the function reduceAll to combine the B value with each other A value.

  22. def reduceMapRight[B](map: (A) ⇒ B)(reduce: (A, B) ⇒ B)(implicit F: NonEmptyForEach[F]): B

    Reduces the elements of this collection from right to left using the function map to transform the first value to the type B and then the function reduceAll to combine the B value with each other A value.

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toNonEmptyChunk(implicit F: NonEmptyForEach[F]): NonEmptyChunk[A]

    Converts the collection to a NonEmptyChunk.

  25. def toNonEmptyList(implicit F: NonEmptyForEach[F]): NonEmptyList[A]

    Converts the collection to a NonEmptyList.

  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped