implicit class NonEmptyForEachOps[F[+_], A] extends AnyRef
Provides infix syntax for traversing collections.
- Alphabetic
- By Inheritance
- NonEmptyForEachOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NonEmptyForEachOps(self: F[A])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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. -
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. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reduce1(implicit F: NonEmptyForEach[F], A: Associative[A]): A
Reduces the non-empty collection of associative elements.
-
def
reduceAll(f: (A, A) ⇒ A)(implicit F: NonEmptyForEach[F]): A
Reduces the collection to a summary value using the binary function
f
. -
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. -
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 functionf
and then reduces those values to a single summary using the combine operation. -
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 typeB
and then the functionreduceAll
to combine theB
value with each otherA
value. -
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 typeB
and then the functionreduceAll
to combine theB
value with each otherA
value. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toNonEmptyChunk(implicit F: NonEmptyForEach[F]): NonEmptyChunk[A]
Converts the collection to a
NonEmptyChunk
. -
def
toNonEmptyList(implicit F: NonEmptyForEach[F]): NonEmptyList[A]
Converts the collection to a
NonEmptyList
. -
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()