Opt

langoustine.lsp.runtime.Opt$package.Opt
object Opt

Attributes

Source
Opt.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Opt.type

Members list

Value members

Concrete methods

inline def apply[A](a: A): Opt[A]

Attributes

Source
Opt.scala
inline def fromOption[A](o: Option[A]): Opt[A]

Attributes

Source
Opt.scala
inline def unapply[A](o: Opt[A]): Option[A]

Attributes

Source
Opt.scala

Concrete fields

val empty: Opt[Nothing]

Attributes

Source
Opt.scala

Givens

Givens

given given_CanEqual_Opt_Null[A]: CanEqual[Opt[A], Null]

Attributes

Source
Opt.scala
given given_CanEqual_Opt_Opt[A]: CanEqual[Opt[A], Opt[A]]

Attributes

Source
Opt.scala
given given_Reader_Opt[A](using rd: Reader[A]): Reader[Opt[A]]

Attributes

Source
Opt.scala
given given_TypeTest_Opt_A[A]: given_TypeTest_Opt_A[A]

Attributes

Source
Opt.scala
given given_Writer_Opt[A](using wt: Writer[A]): Writer[Opt[A]]

Attributes

Source
Opt.scala

Extensions

Extensions

extension [A](o: Opt[A])
inline def toOption: Option[A]

Attributes

Source
Opt.scala