object Fold

Source
Fold.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Fold
  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 apply[S, A](f: (S) => A): Fold[S, A]

    create a monomorphic Fold from a getter function

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def both[G[_, _], A](implicit arg0: Bifoldable[G]): Fold[G[A, A], A]

    fold both parts of a cats.Bifoldable with matching types

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def drop[G[_], A](i: Int)(implicit arg0: Foldable[G]): Fold[G[A], A]

    create a monomorphic Fold that selects all elements of a Foldable except the first n ones

  9. final def dropWhile[G[_], A](predicate: (A) => Boolean)(implicit arg0: Foldable[G]): Fold[G[A], A]

    create a monomorphic Fold that drop longest prefix of elements of a Foldable that satisfy a predicate

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def filter[A, B](fold: Fold[A, B]): Fold[A, A]

    create a monomorphic Fold using a Fold to filter out elements of future optics composed with this Fold_

  13. final def filter[A](predicate: (A) => Boolean): Fold[A, A]

    create a monomorphic Fold using a predicate to filter out elements of future optics composed with this Fold_

  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def fromFoldable[F[_], A](implicit arg0: Foldable[F]): Fold[F[A], A]

    create a monomorphic Fold from cats.Foldable

  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def has[S, A](fold: Fold[S, A]): (S) => Boolean

    check to see if a Fold matches one or more entries

  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def id[S]: Fold[S, S]

    monomorphic identity of a Fold

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def single[F[_], A](i: Int)(implicit arg0: Foldable[F]): Fold[F[A], A]

    create a monomorphic Fold that narrows the focus to a single element

  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. final def take[G[_], A](i: Int)(implicit arg0: Foldable[G]): Fold[G[A], A]

    create a monomorphic Fold that selects the first n elements of a Foldable

  27. final def takeWhile[G[_], A](predicate: (A) => Boolean)(implicit arg0: Foldable[G]): Fold[G[A], A]

    create a monomorphic Fold that takes the longest prefix of elements of a Foldable that satisfy a predicate

  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped