syntax

trait Identityx
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class MonadFlattenOps[F[_], A](fa: F[F[A]])(using evidence$2: Monad[F])
Inherited from
MonadSyntax
class MonadOps[F[_], A, B](fa: F[A])(using evidence$1: Monad[F])
Inherited from
MonadSyntax

Value members

Inherited methods

def unless[F[_], A](condition: Boolean)(fa: => F[A])(using evidence$10: Applicative[F]): F[Unit]
Inherited from
ApplicativeSyntax
def when[F[_], A](condition: Boolean)(fa: => F[A])(using evidence$9: Applicative[F]): F[Unit]
Inherited from
ApplicativeSyntax

Extensions

Inherited extensions

extension (a: M)
def append[M](b: => M)(using evidence$1: Semigroup[M]): M
Inherited from
SemigroupSyntax
def |+|[M](b: => M)(using evidence$2: Semigroup[M]): M
Inherited from
SemigroupSyntax
extension (a: A)
def show[A](using evidence$1: Show[A]): String
Inherited from
ShowSyntax
extension (eab: Either[A, B])
def traverse[F[_], A, B, AA >: A, C](f: B => F[C])(using F: Applicative[F]): F[Either[AA, C]]
Inherited from
EitherSyntax
extension (eab: Either[A, B])
def bimap[A, B, C, D](fa: A => C, fb: B => D): Either[C, D]
Inherited from
EitherSyntax
extension (eab: Either[A, B])
def ap[A, B, AA >: A, BB >: B, C](that: Either[AA, BB => C]): Either[AA, C]
Inherited from
EitherSyntax
def append[A, B, AA >: A, BB >: B, C](that: Either[AA, BB])(using BB: Semigroup[BB]): Either[AA, BB]
Inherited from
EitherSyntax
def as[A, B, AA >: A, BB >: B, C](c: => C): Either[A, C]
Inherited from
EitherSyntax
def ensure[A, B, AA >: A, BB >: B, C](onFailure: => AA)(f: B => Boolean): Either[AA, B]
Inherited from
EitherSyntax
def flatMap[A, B, AA >: A, BB >: B, C](f: B => Either[AA, C]): Either[AA, C]
Inherited from
EitherSyntax
def foldLeft[A, B, AA >: A, BB >: B, C](c: C)(f: (C, B) => C): C
Inherited from
EitherSyntax
def getOrElse[A, B, AA >: A, BB >: B, C](default: => BB): BB
Inherited from
EitherSyntax
def leftMap[A, B, AA >: A, BB >: B, C](f: A => C): Either[C, B]
Inherited from
EitherSyntax
def map[A, B, AA >: A, BB >: B, C](f: B => C): Either[A, C]
Inherited from
EitherSyntax
def orElse[A, B, AA >: A, BB >: B, C](fallback: => Either[C, BB]): Either[C, BB]
Inherited from
EitherSyntax
def recover[A, B, AA >: A, BB >: B, C](pf: PartialFunction[A, BB]): Either[A, BB]
Inherited from
EitherSyntax
def recoverWith[A, B, AA >: A, BB >: B, C](pf: PartialFunction[A, Either[AA, BB]]): Either[AA, BB]
Inherited from
EitherSyntax
def show[A, B, AA >: A, BB >: B, C](using AA: Show[AA], BB: Show[BB]): String
Inherited from
EitherSyntax
def toTry[A, B, AA >: A, BB >: B, C](using ev: A <:< Throwable): Try[B]
Inherited from
EitherSyntax
def valueOr[A, B, AA >: A, BB >: B, C](f: A => BB): BB
Inherited from
EitherSyntax
extension (eab: Either[A, B])
def exists[A, B](f: B => Boolean): Boolean
Inherited from
EitherSyntax
def forall[A, B](f: B => Boolean): Boolean
Inherited from
EitherSyntax
def foreach[A, B](f: B => Unit): Unit
Inherited from
EitherSyntax
def toList[A, B]: List[B]
Inherited from
EitherSyntax
def toOption[A, B]: Option[B]
Inherited from
EitherSyntax
extension (fa: F[A])
def void[F[_], A](using evidence$3: Functor[F]): F[Unit]
Inherited from
FunctorSyntax
extension (fa: List[A])
def filterM[F[_], A](f: A => F[Boolean])(using evidence$8: Applicative[F]): F[List[A]]
Inherited from
ApplicativeSyntax
extension (fa: F[A])
def foldLeft[F[_], A, B](z: B)(f: (B, A) => B)(using evidence$14: Foldable[F]): B
Inherited from
FoldableSyntax
def foldMap[F[_], A, B](f: A => B)(using evidence$13: Foldable[F], Monoid[B]): B
Inherited from
FoldableSyntax
extension (fa: F[A])
def unless[F[_], A](condition: Boolean)(using evidence$7: Applicative[F]): F[Unit]
Inherited from
ApplicativeSyntax
def when[F[_], A](condition: Boolean)(using evidence$6: Applicative[F]): F[Unit]
Inherited from
ApplicativeSyntax
extension (fa: F[A])
def *>[F[_], A, B](fb: F[B])(using evidence$5: Applicative[F]): F[B]
Inherited from
ApplicativeSyntax
def ap[F[_], A, B](f: F[A => B])(using evidence$3: Applicative[F]): F[B]
Inherited from
ApplicativeSyntax
def tuple2[F[_], A, B](fb: F[B])(using evidence$4: Applicative[F]): F[(A, B)]
Inherited from
ApplicativeSyntax
extension (fa: F[A])
def toList[F[_], A](using evidence$2: Foldable[F]): List[A]
Inherited from
FoldableSyntax
extension (fa: F[A])
def traverse_[F[_], M[_], A, B](f: A => M[B])(using evidence$7: Foldable[F], evidence$8: Applicative[M]): M[Unit]
Inherited from
FoldableSyntax
extension (fa: F[G[A]])
def sequence[F[_], G[_], A](using evidence$10: Traverse[F], evidence$11: Applicative[G]): G[F[A]]
Inherited from
TraverseSyntax
extension (fa: F[A])
def traverse[F[_], A, G[_], B](f: A => G[B])(using evidence$8: Traverse[F], evidence$9: Applicative[G]): G[F[B]]
Inherited from
TraverseSyntax
extension (fa: F[A])
def sumAll[F[_], A](using evidence$15: Foldable[F], evidence$16: Monoid[A]): A
Inherited from
FoldableSyntax
extension (fa: F[A])
def foldLeftM[A, B, F[_], M[_]](z: B)(f: (B, A) => M[B])(using evidence$9: Foldable[F], evidence$10: Monad[M]): M[B]
Inherited from
FoldableSyntax
def foldRightM[A, B, F[_], M[_]](z: B)(f: (A, => B) => M[B])(using evidence$11: Foldable[F], evidence$12: Monad[M]): M[B]
Inherited from
FoldableSyntax
extension (fa: F[A])
def as[F[_], A, B](b: => B)(using evidence$2: Functor[F]): F[B]
Inherited from
FunctorSyntax
def map[F[_], A, B](f: A => B)(using evidence$1: Functor[F]): F[B]
Inherited from
FunctorSyntax
extension (fa: F[A])
def suml[F[_], A](using evidence$5: Foldable[F], evidence$6: Monoid[A]): A
Inherited from
FoldableSyntax
def sumr[F[_], A](using evidence$3: Foldable[F], evidence$4: Monoid[A]): A
Inherited from
FoldableSyntax
extension (fa: F[A])
def |@|[F[_], A, B, C](fb: F[B])(f: (A, B) => C)(using evidence$2: Applicative[F]): F[C]
Inherited from
ApplicativeSyntax
extension (t: => S)
def orEmptyUnless[S <: T, T](condition: Boolean)(using evidence$1: Monoid[T]): T
Inherited from
Identityx
def orEmptyWhen[S <: T, T](condition: Boolean)(using evidence$2: Monoid[T]): T
Inherited from
Identityx
extension (t: => T)
def orWhen[T](condition: Boolean)(f: T => T): T

These extension methods provide the possibility to execute a function on an object if a condition is true If not, the object is returned

These extension methods provide the possibility to execute a function on an object if a condition is true If not, the object is returned

Inherited from
Identityx