Skip to content

Commit 76fbee9

Browse files
committed
update docs/blog/_posts/2019-12-20-21th-dotty-milestone-release.md
1 parent cffe1fe commit 76fbee9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/blog/_posts/2019-12-20-21th-dotty-milestone-release.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,11 @@ given [A,B]: (Show[A], Show[B]) => Show[(A,B)] =
204204
(a,b) => s"(${a.show}, ${b.show})"
205205

206206
@main def ShowPair =
207-
println((1 -> "one").show)
207+
println((1 -> "one").show) // (1, "one")
208208
```
209209

210+
After a period of experimentation, either the new or old way will remain.
211+
210212
## New match syntax
211213

212214
We introduce an improved treatment of `match`. We reintroduce `match` as an

0 commit comments

Comments
 (0)