ApplicativeError

leopards.ApplicativeError
trait ApplicativeError[F[_], E] extends Applicative[F]

Attributes

Source
ApplicativeError.scala
Graph
Supertypes
trait Applicative[F]
trait Apply[F]
trait Semigroupal[F]
trait Functor[F]
class Object
trait Matchable
class Any
Show all
Known subtypes
object stdTryInstances.type

Members list

Value members

Abstract methods

def raiseError[A](e: E): F[A]

Attributes

Source
ApplicativeError.scala

Inherited methods

def ap[A, B](ff: F[A => B], fa: F[A]): F[B]

Attributes

Inherited from:
Apply
Source
Apply.scala
def lift[A, B](f: A => B): F[A] => F[B]

Attributes

Inherited from:
Functor
Source
Functor.scala
def pure[A](a: A): F[A]

Attributes

Inherited from:
Applicative
Source
Applicative.scala
def unit: F[Unit]

Attributes

Inherited from:
Applicative
Source
Applicative.scala

Extensions

Extensions

extension [A](fa: F[A])
def handleError(f: Throwable => A): F[A]

Attributes

Source
ApplicativeError.scala

Inherited extensions

extension [A](fa: F[A])
def as[B](b: B): F[B]

Attributes

Inherited from:
Functor
Source
Functor.scala
def map[B](f: A => B): F[B]

Attributes

Inherited from:
Functor
Source
Functor.scala
def void: F[Unit]

Attributes

Inherited from:
Functor
Source
Functor.scala
extension [A](fa: F[A])
def *>[B](fb: F[B]): F[B]

Attributes

Inherited from:
Apply
Source
Apply.scala
def <*[B](fb: F[B]): F[A]

Attributes

Inherited from:
Apply
Source
Apply.scala
def map2[B, Z](fb: F[B])(f: (A, B) => Z): F[Z]

Attributes

Inherited from:
Apply
Source
Apply.scala
override def product[B](fb: F[B]): F[(A, B)]

Attributes

Definition Classes
Inherited from:
Apply
Source
Apply.scala
extension [A, B](ff: F[A => B])
inline def <*>(fa: F[A]): F[B]

Attributes

Inherited from:
Apply
Source
Apply.scala
extension [T <: NonEmptyTuple](tuple: T)(using toMap: IsMappedBy[F][T])
inline def mapN[B](f: InverseMap[T, F] => B): F[B]

Attributes

Inherited from:
Apply
Source
Apply.scala
inline def tupled: F[InverseMap[T, F]]

Attributes

Inherited from:
Apply
Source
Apply.scala