docs.scala-lang
docs.scala-lang copied to clipboard
The Scala Documentation website
I was surprised today to notice that https://docs.scala-lang.org/overviews/core/string-interpolation.html makes no reference to the use of string interpolation in patterns, e.g. with the `s` interpolator: ```scala scala 2.13.10> "foo bar" match...
After Line 131 in _overviews/scala3-book/taste-methods.md, there should be at least two paragraphs more.
at the beginning of types-union.md the "scala 3 only" hint is missing.
This is stated in https://docs.scala-lang.org/tour/multiple-parameter-lists.html but while this mostly applies to Scala 2, it doesn't apply at all to Scala 3 where type variables are inferred as late as possible...
Closes #3002
Fixes https://github.com/scala/scala3/issues/20591 Besides the use of jpath, the scala 2 macro impl must be public. I tried to verify the steps as presented, but did not quite have the patience;...
From the English page: https://github.com/scala/docs.scala-lang/blob/main/_tour/traits.md - Update code blocks to support Scala 2 / Scala 3 tabs - Add some of my insights (as a `note:` block) - Revise some...