Some unexpected practical for Fewer Braces
#18547
djx314
started this conversation in
General Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Usage of
match case
in Scala 3, and it seems that can replace someby
Just move
{
}
to(
)
.https://scastie.scala-lang.org/djx314/U4rUBM21TQqC5LGdRV2yJA/29
Output
The code is discovered in a joyful daily conversation😂.
Beta Was this translation helpful? Give feedback.
All reactions