There’s an open PR that adds new ways to define extension methods to the Scala tour: https://github.com/scala/docs.scala-lang/pull/1117#issuecomment-411159531
I’d like to encourage people to leave some comments and try to find consensus on the preferred way to define extension methods in Scala. I think it would be beneficial if we could recommend just one approach or agree on some defaults (like defining extension methods in an object or package object called syntax
that then can be imported in the call-site.