option

object option extends OptionSyntax
class Object
trait Matchable
class Any
option.type

Extensions

Inherited extensions

extension [A](a: A)
inline def someTF[F[_] : Applicative]: OptionT[F, A]
Inherited from:
OptionSyntax
extension [F[_], A](fOfOption: F[Option[A]])
inline def optionT: OptionT[F, A]
Inherited from:
OptionSyntax
inline def t: OptionT[F, A]
Inherited from:
OptionSyntax
extension [F[_], A](fOfOption: F[Option[A]])
inline def innerCollect[B](pf: PartialFunction[A, B])(using F: Functor[F]): F[Option[B]]
Inherited from:
OptionSyntax
inline def innerContains(a: A)(using F: Functor[F]): F[Boolean]
Inherited from:
OptionSyntax
inline def innerExists(f: A => Boolean)(using F: Functor[F]): F[Boolean]
Inherited from:
OptionSyntax
inline def innerFilter(f: A => Boolean)(using F: Functor[F]): F[Option[A]]
Inherited from:
OptionSyntax
inline def innerFlatMap[B](f: A => Option[B])(using F: Functor[F]): F[Option[B]]
Inherited from:
OptionSyntax
inline def innerFlatMapF[B](f: A => F[Option[B]])(using F: Monad[F]): F[Option[B]]
Inherited from:
OptionSyntax
inline def innerFold[B](ifEmpty: => B)(f: A => B)(using F: Functor[F]): F[B]
Inherited from:
OptionSyntax
inline def innerFoldF[B](ifEmpty: => F[B])(f: A => F[B])(using F: FlatMap[F]): F[B]
Inherited from:
OptionSyntax
inline def innerForall(f: A => Boolean)(using F: Functor[F]): F[Boolean]
Inherited from:
OptionSyntax
inline def innerForeach(f: A => Unit)(using F: Functor[F]): F[Unit]
Inherited from:
OptionSyntax
inline def innerForeachF(f: A => F[Unit])(using F: FlatMap[F], AP: Applicative[F]): F[Unit]
Inherited from:
OptionSyntax
inline def innerGetOrElse[B >: A](ifEmpty: => B)(using F: Functor[F]): F[B]
Inherited from:
OptionSyntax
inline def innerGetOrElseF[B >: A](ifEmpty: => F[B])(using F: Monad[F]): F[B]
Inherited from:
OptionSyntax
inline def innerMap[B](f: A => B)(using F: Functor[F]): F[Option[B]]
Inherited from:
OptionSyntax
inline def innerOrElse[B >: A](alternative: => Option[B])(using F: Functor[F]): F[Option[B]]
Inherited from:
OptionSyntax
inline def innerOrElseF[B >: A](alternative: => F[Option[B]])(using F: Monad[F]): F[Option[B]]
Inherited from:
OptionSyntax
extension [F[_], A](fa: F[A])
inline def someT(using F: Functor[F]): OptionT[F, A]
Inherited from:
OptionSyntax
extension [A](option: Option[A])
inline def optionT[F[_] : Applicative]: OptionT[F, A]
Inherited from:
OptionSyntax
inline def t[F[_] : Applicative]: OptionT[F, A]
Inherited from:
OptionSyntax