trait
Foldable[F[_]] extends AnyRef
Abstract Value Members
-
abstract
def
foldLeft[A, B](fa: F[A], z: B)(f: (B, A) ⇒ B): B
-
abstract
def
foldMap[A, B](fa: F[A])(f: (A) ⇒ B)(implicit F: Monoid[B]): B
-
abstract
def
foldRight[A, B](fa: F[A], z: ⇒ B)(f: (A, ⇒ B) ⇒ B): B
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
all[A](fa: F[A])(p: (A) ⇒ Boolean): Boolean
-
def
allM[G[_], A](fa: F[A])(p: (A) ⇒ G[Boolean])(implicit G: Monad[G]): G[Boolean]
-
def
any[A](fa: F[A])(p: (A) ⇒ Boolean): Boolean
-
def
anyM[G[_], A](fa: F[A])(p: (A) ⇒ G[Boolean])(implicit G: Monad[G]): G[Boolean]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
count[A](fa: F[A]): Int
-
def
empty[A](fa: F[A]): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
findLeft[A](fa: F[A])(f: (A) ⇒ Boolean): Option[A]
-
def
findRight[A](fa: F[A])(f: (A) ⇒ Boolean): Option[A]
-
def
fold[M](t: F[M])(implicit arg0: Monoid[M]): M
-
def
foldLeftM[G[_], A, B](fa: F[A], z: B)(f: (B, A) ⇒ G[B])(implicit M: Monad[G]): G[B]
-
def
foldMapM[G[_], A, B](fa: F[A])(f: (A) ⇒ G[B])(implicit B: Monoid[B], G: Monad[G]): G[B]
-
def
foldRightM[G[_], A, B](fa: F[A], z: ⇒ B)(f: (A, ⇒ B) ⇒ G[B])(implicit M: Monad[G]): G[B]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
index[A](fa: F[A], i: Int): Option[A]
-
def
indexOr[A](fa: F[A], default: ⇒ A, i: Int): A
-
def
intercalate[A](fa: F[A], a: A)(implicit A: Monoid[A]): A
-
final
def
isInstanceOf[T0]: Boolean
-
def
length[A](fa: F[A]): Int
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
sequence_[M[_], A](fa: F[M[A]])(implicit a: Applicative[M]): M[Unit]
-
def
suml[A](fa: F[A])(implicit A: Monoid[A]): A
-
def
sumr[A](fa: F[A])(implicit A: Monoid[A]): A
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toList[A](fa: F[A]): List[A]
-
def
toSet[A](fa: F[A]): Set[A]
-
def
toStream[A](fa: F[A]): Stream[A]
-
def
toString(): String
-
def
toVector[A](fa: F[A]): Vector[A]
-
def
traverse_[M[_], A, B](fa: F[A])(f: (A) ⇒ M[B])(implicit a: Applicative[M]): M[Unit]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Inspired from the scalaz (https://github.com/scalaz/scalaz) project