docs.scala-lang icon indicating copy to clipboard operation
docs.scala-lang copied to clipboard

The Scala Documentation website

Results 204 docs.scala-lang issues
Sort by recently updated
recently updated
newest added

I wear glasses. Dimmed text color makes reading much harder! I have to turn off body {color:...} CSS style on every page to be able to read the documentation. Could...

In Scala 3 Book, under [Control Structures](https://docs.scala-lang.org/scala3/book/control-structures.html), the box under *match expressions* recommends using `@switch` annotation for improved performance. But it doesn't specify the syntax. Also, it's a bit confusing...

Hello, The https://www.scala-lang.org/api/current/ URL currently shows documentation for the latest Scala 2 version. I would expect it to lead to https://www.scala-lang.org/api/3.x/ instead. Is the current behavior expected?

In the Scala book, `Unit` is used in the Sample Pizza class example on this page https://docs.scala-lang.org/overviews/scala-book/enumerations-pizza-class.html. This has not previously been explained. Perhaps it could be described on the...

Wide width web When viewing on mobile or narrowing the width. Nowhere. recommended position (sorry, no design adjustments). Reference Information: [Designing a language switch: Examples and best practices](https://usersnap.com/blog/design-language-switch/)

**TypeParamClause** has no production rule in https://docs.scala-lang.org/scala3/reference/syntax.html: `TypeDcl ::= id [TypeParamClause] {FunParamClause} TypeBounds [‘=’ Type]`

Hi, [This page](https://docs.scala-lang.org/scala3/book/taste-control-structures.html) talks about control structures. For the if/then/else it only expose the (new ?) syntax ```scala if a < b then something else something_else ``` But for the...

help wanted

In this page: https://docs.scala-lang.org/scala3/reference/enums/enums.html Is this example of 'Parameterized enums' really a 'Parameterized enums'? ``` enum Color(val rgb: Int): case Red extends Color(0xFF0000) case Green extends Color(0x00FF00) case Blue extends...

So, [this](https://docs.scala-lang.org/overviews/core/futures.html#utilities) section isn't related to Futures nor to Promises, which is what the chapter is supposed to be about.

Currently the docs on how to [add a dependency to sbt](https://docs.scala-lang.org/getting-started/intellij-track/building-a-scala-project-with-intellij-and-sbt.html#adding-a-dependency) is a single step process. Open up build.sbt and add the following line...`scala-parser-combinator`. It then goes on to explain...