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 7299639 commit 4a59cd2Copy full SHA for 4a59cd2
docs/docs/reference/metaprogramming/macros.md
@@ -331,7 +331,7 @@ a `List` is liftable if its element type is:
331
given [T: ToExpr : Type]: ToExpr[List[T]] with
332
def toExpr(xs: List[T]) = xs match
333
case head :: tail => '{ ${ Expr(head) } :: ${ toExpr(tail) } }
334
- case Nil => '{ Nil: List[T] }
+ case Nil => '{ Nil: List[T] }
335
```
336
337
In the end, `ToExpr` resembles very much a serialization
@@ -762,7 +762,7 @@ trait Show[-T]:
762
def show(x: T): String
763
764
// in a different file
765
-given Show[Boolean]:
+given Show[Boolean] with
766
def show(b: Boolean) = "boolean!"
767
768
println(showMe"${true}")
0 commit comments