docs.scala-lang
docs.scala-lang copied to clipboard
The Scala Documentation website
in the chat rooms we've seen people bitten by this over and over and over again I've lost track of how many dozen confused/disappointed people we've had to inform that...
Draft until 2.13.14, adapt to https://github.com/scala/scala/pull/10709.
Related dotty PR: https://github.com/lampepfl/dotty/pull/19337
On iOS, the "type `A` \*/" is rendered as "type `A` //", seems highlight.js is incompatible with iOS Safari, wrongly replaces "*/" with "//". I'm not able to find the...
The discussion on https://github.com/lampepfl/dotty/pull/19635 indicates that there should be a documentation page explaining what and where class types may be used. For now, from googling, it looks like the best...
Fixed the second code comment for the last example just before the summary. The words "Book" and "Buyable" needed to be swapped. This makes it consistent with how the first...
Continuation of * https://github.com/scala/docs.scala-lang/pull/2662 * https://github.com/scala/docs.scala-lang/pull/2760 For Scala 3 * `fromProduct` is necessary: https://contributors.scala-lang.org/t/can-we-make-adding-a-parameter-with-a-default-value-binary-compatible/6132/8?u=sideeffffect * touching `unapply` shouldn't be necessary according to https://contributors.scala-lang.org/t/can-we-make-adding-a-parameter-with-a-default-value-binary-compatible/6132?u=sideeffffect For Scala 2 * `copy` needs to...
[This](https://docs.scala-lang.org/scala3/book/taste-control-structures.html#custom-control-structures) documentation page teases custom control structures, only to refer to another page that doesn't even mention them.
https://docs.scala-lang.org/online-courses.html This came up on Discord today — someone was hoping to take a class taught by Martin, and the web page gave them the impression that the classes were...