Top "Scala-2.8" questions

Version 2.8 of the Scala language for the JVM.

Scala Array constructor?

scala> val a = Array [Double] (10) a: Array[Double] = Array(10.0) scala> val a = new Array [Double] (10) a: Array[Double] = …

scala arrays scala-2.8
Are there a good examples of using 'scala.swing'?

I don't know Java or Swing, but I'm quite familiar with Scala, and I have no problems using it for …

swing scala scala-2.8 scala-swing
Which IDE for Scala 2.8?

This is the same question for older version of Scala, but they say that Eclipse plugin has been improved vastly. …

ide scala scala-2.8
How to find a matching element in a list and map it in as an Scala API method?

Is there a method to do the following without doing both methods: find and map? val l = 0 to 3 l.find(_ * 33 % 2 == 0).…

scala scala-2.8
Does the @inline annotation in Scala really help performance?

Or does it just clutter up the code for something the JIT would take care of automatically anyway?

performance scala scala-2.8
Mixing Scala and Java files in an Eclipse project

I'm probably doing something stupid, but I can't spot it. I've installed Eclipse Helios (Helios because I couldn't get Glassfish …

eclipse scala eclipse-plugin scala-2.8
scala either pattern match

what is wrong in this piece of code? (Left("aoeu")) match{case Right(x) => ; case Left(x) => } <…

scala pattern-matching scala-2.8
How to access and update a value in a mutable map of map of maps

I've a three-level data structure (indentation and line breaks for readability): scala> import scala.collection.mutable.Map import scala.…

scala map scala-2.8 scala-collections
Convert Scala Set into Java (java.util.Set)?

I have a Set in Scala (I can choose any implementation as I am creating the Set. The Java library …

scala type-conversion scala-collections scala-2.8 scala-java-interop
pass variable number of arguments in scala (2.8) case class to parent constructor

I was experimenting with variable constructor arguments for case classes in Scala, but am unable to pass them to the …

inheritance scala scala-2.8 variadic-functions