docs.scala-lang
docs.scala-lang copied to clipboard
The Scala Documentation website
it looks awkward for multiple lines: 
This issue does not appear when using responsive design mode, however it seems strange because when I inspect the element (at small window size) there is no font-size difference with...
https://docs.scala-lang.org/tour/tour-of-scala.html (perhaps there's something in the old "Scala by Example" document that could be used as a starting point? not sure)
I recently ported a project from Scala 2 to Scala 3 with some modules using Scala 2 and others using Scala 3. I ran into several gotchas that might be...
## Reproduction steps ```scala scala 2.13.8> List(42).flatMap(List(_ + 1)) ^ error: missing parameter type for expanded function (() => x$1.$plus(1)) scala 2.13.8> List(42).flatMap(List apply _ + 1) val res1: List[Int]...
There is no explanation in the book that indentation is significant and needed for the compiler. When searching for 'Indentation' it is only referenced in the Style Guide, Migration Guide...
The former one removed/ Also added 5 misphrasings... too small fixes for their own PR: - generic type parameter => type parameter (2x) - "Hello?" => "Hi people" (Hello? What?)...
Hello folks, I followed the description exactly (!) of the "happyBirthday" example on https://docs.scala-lang.org/scala3/book/methods-main-methods.html. My PC runs Windows 11. Quick summary: I put the mentioned source code into a file...
Per https://github.com/scala/docs.scala-lang/issues/1711#issuecomment-628347181 If compiler command line options aka settings are worth documenting, it would be useful to be able to select the version of interest. This may be more urgent...
The documentation displays usage like `-Yimports foo,bar`, but if you actually use that format, you get a compile error of `bad preamble import foo,bar` It needs to be `-Yimports:foo,bar` On...