FlatMap

@implicitNotFound("Could not find an instance of FlatMap for ${F}")
trait FlatMap[F[_]] extends Apply[F]
Companion:
object
trait Apply[F]
trait Functor[F]
class Object
trait Matchable
class Any
trait Monad[F]

Value members

Abstract methods

def flatMap[A1, A2](fa: F[A1])(f: A1 => F[A2]): F[A2]

Concrete methods

def flatten[A1](ffa: F[F[A1]]): F[A1]

Inherited methods

def ap[A1, A2](ff: F[A1 => A2])(fa: F[A1]): F[A2]
Inherited from:
Apply
def map[A1, A2](fa: F[A1])(f: A1 => A2): F[A2]
Inherited from:
Functor
def product[A1, A2](fa: F[A1], fb: F[A2]): F[(A1, A2)]
Inherited from:
Apply