We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ca640 commit e8afd6fCopy full SHA for e8afd6f
library/src-3.x/scala/quoted/package.scala
@@ -8,12 +8,10 @@ package object quoted {
8
9
implicit object ExprOps {
10
def (x: T) toExpr[T] given Liftable[T]: Expr[T] = the[Liftable[T]].toExpr(x)
11
- }
12
13
- implicit object ListOfExprOps {
14
def (list: List[Expr[T]]) toExprOfList[T] given Type[T]: Expr[List[T]] = list match {
15
- case x :: xs => '{ $x :: ${xs.toExprOfList} }
16
- case Nil => '{ Nil }
+ case x :: xs => '{ $x :: ${xs.toExprOfList} }
+ case Nil => '{ Nil }
17
}
18
19
0 commit comments