Monad

org.specs2.fp.Monad
See theMonad companion trait
object Monad

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Monad.type

Members list

Type members

Classlikes

object idMonad extends Monad[Id]

Attributes

Supertypes
trait Monad[Id]
trait Applicative[Id]
trait Functor[Id]
class Object
trait Matchable
class Any
Show all
Self type
idMonad.type
object optionMonad extends Monad[Option]

Attributes

Supertypes
trait Monad[Option]
trait Applicative[Option]
trait Functor[Option]
class Object
trait Matchable
class Any
Show all
Self type

Value members

Concrete methods

def apply[F[_]](using F: Monad[F]): Monad[F]

Givens

Givens

given eitherMonad[L]: eitherMonad[L]
given futureMonad(using ec: ExecutionContext): futureMonad
given idMonad: idMonad.type
given optionMonad: optionMonad.type