EitherSyntax

Since:

2021-07-28

Companion:
object
class Object
trait Matchable
class Any
trait AllSyntax
object all.type
object EitherSyntax.type
object either.type

Extensions

Extensions

extension [A](a: A)
inline def leftTF[F[_] : Applicative, B]: EitherT[F, A, B]
inline def rightTF[F[_] : Applicative, B]: EitherT[F, B, A]
extension [A, B](either: Either[A, B])
inline def eitherT[F[_] : Applicative]: EitherT[F, A, B]
inline def t[F[_] : Applicative]: EitherT[F, A, B]
extension [F[_], A, B](fOfEither: F[Either[A, B]])
inline def eitherT: EitherT[F, A, B]
inline def t: EitherT[F, A, B]
extension [F[_], A](fa: F[A])
inline def leftT[B](using F: Functor[F]): EitherT[F, A, B]
inline def rightT[B](using F: Functor[F]): EitherT[F, B, A]