Packages

c

scalaz.syntax

FoldableOps

final class FoldableOps[F[_], A] extends Ops[F[A]]

Wraps a value self and provides methods related to Foldable

Source
FoldableSyntax.scala
Linear Supertypes
Ops[F[A]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FoldableOps
  2. Ops
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. implicit val F: Foldable[F]
  5. final def all(p: (A) ⇒ Boolean): Boolean
  6. final def allM[G[_]](p: (A) ⇒ G[Boolean])(implicit arg0: Monad[G]): G[Boolean]
  7. final def any(p: (A) ⇒ Boolean): Boolean
  8. final def anyM[G[_]](p: (A) ⇒ G[Boolean])(implicit arg0: Monad[G]): G[Boolean]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. final def collapse[X[_]](implicit A: ApplicativePlus[X]): X[A]
  12. final def concatenate(implicit A: Monoid[A]): A
  13. final def count: Int
  14. final def distinct(implicit A: Order[A]): IList[A]
  15. final def distinctBy[B](f: (A) ⇒ B)(implicit arg0: Equal[B]): IList[A]
  16. final def distinctE(implicit A: Equal[A]): IList[A]
  17. final def element(a: A)(implicit A: Equal[A]): Boolean
  18. final def empty: Boolean
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. final def extrema(implicit A: Order[A]): Option[(A, A)]
  22. def extremaBy[B](f: (A) ⇒ B)(implicit arg0: Order[B]): Option[(A, A)]
  23. def extremaOf[B](f: (A) ⇒ B)(implicit arg0: Order[B]): Option[(B, B)]
  24. final def filterLength(p: (A) ⇒ Boolean): Int
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. final def findLeft(f: (A) ⇒ Boolean): Option[A]
  27. final def findMapM[G[_], B](f: (A) ⇒ G[Option[B]])(implicit arg0: Monad[G]): G[Option[B]]
  28. final def findRight(f: (A) ⇒ Boolean): Option[A]
  29. final def fold(implicit A: Monoid[A]): A
  30. final def fold1Opt(implicit A: Semigroup[A]): Option[A]
  31. final def foldLeft[B](z: B)(f: (B, A) ⇒ B): B
  32. final def foldLeft1Opt(f: (A, A) ⇒ A): Option[A]
  33. final def foldLeftM[G[_], B](z: B)(f: (B, A) ⇒ G[B])(implicit M: Monad[G]): G[B]
  34. final def foldMap[B](f: (A) ⇒ B = (a: A) => a)(implicit arg0: Monoid[B]): B
  35. final def foldMap1Opt[B](f: (A) ⇒ B = (a: A) => a)(implicit arg0: Semigroup[B]): Option[B]
  36. final def foldMapLeft1Opt[B](z: (A) ⇒ B)(f: (B, A) ⇒ B): Option[B]
  37. final def foldMapM[G[_], B](f: (A) ⇒ G[B])(implicit arg0: Monad[G], arg1: Monoid[B]): G[B]
  38. final def foldMapRight1Opt[B](z: (A) ⇒ B)(f: (A, ⇒ B) ⇒ B): Option[B]
  39. final def foldRight[B](z: ⇒ B)(f: (A, ⇒ B) ⇒ B): B
  40. final def foldRight1Opt(f: (A, ⇒ A) ⇒ A): Option[A]
  41. final def foldRightM[G[_], B](z: ⇒ B)(f: (A, ⇒ B) ⇒ G[B])(implicit M: Monad[G]): G[B]
  42. final def foldl[B](z: B)(f: (B) ⇒ (A) ⇒ B): B
  43. final def foldl1Opt(f: (A) ⇒ (A) ⇒ A): Option[A]
  44. final def foldlM[G[_], B](z: B)(f: (B) ⇒ (A) ⇒ G[B])(implicit M: Monad[G]): G[B]
  45. final def foldr[B](z: ⇒ B)(f: (A) ⇒ (⇒ B) ⇒ B): B
  46. final def foldr1Opt(f: (A) ⇒ (⇒ A) ⇒ A): Option[A]
  47. final def foldrM[G[_], B](z: ⇒ B)(f: (A) ⇒ (⇒ B) ⇒ G[B])(implicit M: Monad[G]): G[B]
  48. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  50. final def index(n: Int): Option[A]
  51. final def indexOr(default: ⇒ A, n: Int): A
  52. final def intercalate(a: A)(implicit A: Monoid[A]): A
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. final def length: Int
  55. final def longDigits(implicit d: <:<[A, Digit]): Long
  56. final def maximum(implicit A: Order[A]): Option[A]
  57. final def maximumBy[B](f: (A) ⇒ B)(implicit arg0: Order[B]): Option[A]
  58. final def maximumOf[B](f: (A) ⇒ B)(implicit arg0: Order[B]): Option[B]
  59. final def minimum(implicit A: Order[A]): Option[A]
  60. final def minimumBy[B](f: (A) ⇒ B)(implicit arg0: Order[B]): Option[A]
  61. final def minimumOf[B](f: (A) ⇒ B)(implicit arg0: Order[B]): Option[B]
  62. final def msuml[G[_], B](implicit ev: ===[A, G[B]], G: PlusEmpty[G]): G[B]
  63. final def msumlU(implicit G: Unapply[PlusEmpty, A]): M[A]
  64. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  67. final def selectSplit(p: (A) ⇒ Boolean): List[NonEmptyList[A]]
  68. val self: F[A]
    Definition Classes
    FoldableOpsOps
  69. def sequenceF_[M[_], B](implicit ev: <~<[F[A], F[Free[M, B]]]): Free[M, Unit]
  70. final def sequenceS_[S, B](implicit ev: ===[A, State[S, B]]): State[S, Unit]
  71. final def sequence_[G[_], B](implicit ev: ===[A, G[B]], G: Applicative[G]): G[Unit]
  72. final def splitBy[B](f: (A) ⇒ B)(implicit arg0: Equal[B]): IList[(B, NonEmptyList[A])]
  73. final def splitByRelation(r: (A, A) ⇒ Boolean): IList[NonEmptyList[A]]
  74. final def splitWith(p: (A) ⇒ Boolean): List[NonEmptyList[A]]
  75. final def suml(implicit A: Monoid[A]): A
  76. final def suml1Opt(implicit A: Semigroup[A]): Option[A]
  77. final def sumr(implicit A: Monoid[A]): A
  78. final def sumr1Opt(implicit A: Semigroup[A]): Option[A]
  79. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  80. final def toEphemeralStream: EphemeralStream[A]
  81. final def toIList: IList[A]
  82. final def toList: List[A]
  83. final def toSet: Set[A]
  84. final def toStream: Stream[A]
  85. def toString(): String
    Definition Classes
    AnyRef → Any
  86. final def toVector: Vector[A]
  87. final def traverseS_[S, B](f: (A) ⇒ State[S, B]): State[S, Unit]
  88. final def traverseU_[GB](f: (A) ⇒ GB)(implicit G: Unapply[Applicative, GB]): M[Unit]
  89. final def traverse_[M[_]](f: (A) ⇒ M[Unit])(implicit arg0: Applicative[M]): M[Unit]
  90. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  93. final def (p: (A) ⇒ Boolean): Boolean
  94. final def (p: (A) ⇒ Boolean): Boolean

Deprecated Value Members

  1. final def to[G[_]](implicit c: CanBuildFrom[Nothing, A, G[A]]): G[A]

    Annotations
    @deprecated
    Deprecated

    (Since version 7.2.22) removed in scalaz 7.3

    Exceptions thrown

    NoSuchMethodException if Scala 2.13 or later

Inherited from Ops[F[A]]

Inherited from AnyRef

Inherited from Any

Ungrouped