object MonadUtil

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

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(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def foldLeftM[M[_], S, A](initialState: S, xs: Iterable[A])(step: (S, A) => M[S])(implicit monad: Monad[M]): M[S]

    The caller must ensure that the Iterable is immutable

  9. def foldLeftM[M[_], S, A](initialState: S, iter: Iterator[A])(step: (S, A) => M[S])(implicit monad: Monad[M]): M[S]

    The caller must ensure that the underlying data structure of the iterator is immutable

    The caller must ensure that the underlying data structure of the iterator is immutable

    Annotations
    @SuppressWarnings()
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def repeatFlatmap[M[_], A](m: M[A], f: (A) => M[A], counter: Int)(implicit monad: Monad[M]): M[A]

    Repeatedly apply the same function to a monadic value m.

    Repeatedly apply the same function to a monadic value m. This can be used to retry until the limit counter is reached or the monad m aborts.

    Annotations
    @tailrec()
  17. def sequentialTraverse[X, M[_], S](xs: Seq[X])(f: (X) => M[S])(implicit monad: Monad[M]): M[Seq[S]]
  18. def sequentialTraverseMonoid[M[_], A, B](xs: Iterable[A])(step: (A) => M[B])(implicit monad: Monad[M], monoid: Monoid[B]): M[B]

    Conceptually equivalent to sequentialTraverse(xs)(step).map(monoid.combineAll).

    Conceptually equivalent to sequentialTraverse(xs)(step).map(monoid.combineAll). The caller must ensure that the Iterable is immutable.

  19. def sequentialTraverse_[M[_], A](xs: Iterator[A])(step: (A) => M[_])(implicit monad: Monad[M]): M[Unit]

    The caller must ensure that the underlying data structure of the iterator is immutable

  20. def sequentialTraverse_[M[_], A](xs: Iterable[A])(step: (A) => M[_])(implicit monad: Monad[M]): M[Unit]

    The implementation of traverse in cats is parallel, so this provides a sequential alternative.

    The implementation of traverse in cats is parallel, so this provides a sequential alternative. The caller must ensure that the Iterable is immutable

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped