Do note that I used Scala 3's optional significant indentation and new control syntax, which means Scastie won't highlight it nicely
Normally, the Scala 3 compiler can rewrite between those syntaxes on its own, but that doesn't work in Scastie because it uses a different file for the compiler
Btw hi @HuỳnhTrầnKhanh
This one uses the normal syntax with braces and parentheses