Monad

sbt.util.Monad
See theMonad companion object
trait Monad[F[_]] extends FlatMap[F] with Applicative[F]

Attributes

Companion:
object
Graph
Supertypes
trait Applicative[F]
trait FlatMap[F]
trait Apply[F]
trait Functor[F]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def ap[A1, A2](ff: F[A1 => A2])(fa: F[A1]): F[A2]

Attributes

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

Attributes

Inherited from:
FlatMap
def flatten[A1](ffa: F[F[A1]]): F[A1]

Attributes

Inherited from:
FlatMap
override def map[A1, A2](fa: F[A1])(f: A1 => A2): F[A2]

Attributes

Definition Classes
Inherited from:
Applicative
def product[A1, A2](fa: F[A1], fb: F[A2]): F[(A1, A2)]

Attributes

Inherited from:
Apply
def pure[A1](x: () => A1): F[A1]

Attributes

Inherited from:
Applicative