RightFromExpr

given RightFromExpr[L, R](using `x$1`: Type[L], `x$2`: Type[R], `x$3`: FromExpr[R]): FromExpr[Right[L, R]]

Default implementation of FromExpr[Right]

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

Value members

Concrete methods

def unapply(x: Expr[Right[L, R]])(using Quotes): Option[Right[L, R]]

Concrete fields

protected val `x$1`: Type[L]
protected val `x$2`: Type[R]
protected val `x$3`: FromExpr[R]