Functor

jaskell.Functor
trait Functor[F[_]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Applicative[F]
trait Monad[F]
object listMonad.type
object optionMonad.type
object tryMonad.type
object given_Functor_List.type

Members list

Concise view

Value members

Abstract methods

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

Extensions

Extensions

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

The unit value for a monad

The unit value for a monad

Attributes