SomeFromExpr

given SomeFromExpr[T](using `x$1`: Type[T], `x$2`: FromExpr[T]): FromExpr[Some[T]]

Default implementation of FromExpr[Some]

Default implementation of FromExpr[Some]

  • Transform '{Some(x)} into Some(Some(x)) if x can be transformed using FromExpr[T]
  • Otherwise returns None

Value members

Concrete methods

def unapply(x: Expr[Some[T]])(using Quotes): Option[Some[T]]

Concrete fields

protected val `x$1`: Type[T]
protected val `x$2`: FromExpr[T]