Tweaking the syntax of extension methods again
For those paying attention to the eternal saga of extension method syntax: Martin just submitted a PR to adjust the way that given extensions work.
I don’t believe this affects the syntax of individual extension methods, just the way you group them together into a single given clause. Personally, I am ruefully amused at the way the syntax has come round to the point where it looks an awful lot like implicit classes.
For the exact details, I recommend looking at this new bit of documentation.
Usual caveat: this is just a PR, of a feature that is still rather in flux. But we’re getting down to the wire at this point — the review process for what will become Scala 3 (however that winds up working) will start in a couple of months…