Skip to content

Commit adefc86

Browse files
authored
Merge pull request #1339 from Bersier/patch-1
Update 2021-02-26-tuples-bring-generic-programming-to-scala-3.md
2 parents 4af23f4 + 464ca6e commit adefc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2021-02-26-tuples-bring-generic-programming-to-scala-3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ We can create an entrypoint function and test this implementation:
142142
def tupleToCsv[X <: Tuple : RowEncoder](tuple: X): List[String] =
143143
summon[RowEncoder[X]].encodeRow(tuple)
144144

145-
tupleToCsv(("Bob", 42, false)) // List("Bob", 42, false)
145+
tupleToCsv(("Bob", 42, false)) // List("Bob", "42", "false")
146146
```
147147

148148
## How to obtain a tuple from a case class?

0 commit comments

Comments
 (0)