discussions Search Results · repo:scala/scala3 language:JavaScript
Filter by
414 results
(211 ms)414 results
inscala/scala3 (press backspace or delete to remove):
Hi team, I m very new here, so apologies if I didn t provide enough details. I m wondering if you have given any thoughts around supporting something like rust if let The basic idea is to allow for destructuring ...
tknawaraposted
on Dec 31, 2024- 7
:
Consider the following Scala 3 snippet featuring a normal class and a case class, each with an auxiliary constructor: class PersonClass(val name: String, val age: Int) { def this(first: String, last: ...
amin-aoulkadiposted
13 days ago- 7
:
I can never remember if it is --init-repl-script or --init-scrip-repl or --repl-init-script... And it is not obvious that I need to check --help-repl not --help or --full-help It would be nice to be able ...
bjornregnellposted
22 days ago- 21
:
Hi, Can anyone point me to where I can download the API docs for Scala 3? I can see there is a download link included in the other resources section of the 2.* downloads, but can t find the same for ...
sean-russellposted
23 days ago- 3
:
Hey folks, I m working at a company with dozens of Scala developers, and we recently started adopting Scala 3. So far, so good—except for the mixing of Scala 2 and Scala 3 syntax in Scala 3 codebases. ...
altrackposted
on Feb 15- 4
:
Scala 2 is helpful (under -Xlint) scala val xs = mutable.HashMap( a - 42L) val xs: scala.collection.mutable.HashMap[String,Long] = HashMap(a - 42) scala xs.getOrElse( b , 0) ^ warning: ...
som-snyttposted
on May 5, 2024- 1
:
Search Keywords inline NoClassDefFoundError Summary When a package-private function is inlined outside its package, a NoClassDefFoundError (ClassNotFoundException) occurs at runtime. Is this the expected ...
harry0000posted
on Oct 21- 4
:
e.g. this can prevent hard to immediately spot infinite recursion errors if you refactor from one canonical type class for Foo to several derived ones, all based on the underlying type opaque type Foo ...
bishaboshaposted
on Oct 9- 0
:
A bit related to https://github.com/scala/scala3/issues/7871 but I think the question warrants being discussed on a higher level. Python has https://github.com/python/typeshed and TypeScript has https://github.com/DefinitelyTyped/DefinitelyTyped ...
vandmoposted
on Mar 20- 2
:
Hi! I ve been benchmarking performance of Array.map and Array.foreach in Scala and found that their implementations can be made significantly faster — map by up to 3.5×, and foreach by up to 2× — by simplifying ...
2Pitposted
on Aug 1- 6