Functor

trait Functor[F[_]]
class Object
trait Matchable
class Any
trait Applicative[F]
trait Monad[F]

Value members

Abstract methods

def pure[A](x: A): F[A]

Extensions

Extensions

extension (x: F[A])
def <:>[A, B](f: A => B): F[B]
def flatMap[A, B](f: A => F[B]): F[B]
def fmap[A, B](f: A => B): F[B]
def map[A, B](f: A => B): F[B]

The unit value for a monad

The unit value for a monad