All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cats.xml.utils.generic.ToFromExprInstances.scala Maven / Gradle / Ivy

package cats.xml.utils.generic

private[generic] object ToFromExprInstances {

  import scala.quoted.*

  given [T: Type]: ToExpr[ParamName[T]] = new ToExpr[ParamName[T]] {
    def apply(x: ParamName[T])(using Quotes): Expr[ParamName[T]] =
      '{ ParamName[T](${ Expr(x.value) }) }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy