Top "Scala-2.10" questions

Version 2.10 of the Scala language for the JVM.

How to disambiguate links to methods in scaladoc?

I'm documenting a Scala class with overloaded methods. How can I distinguish them when referring to them in scaladoc comments? …

scala scala-2.10 scaladoc method-names disambiguation
Can I define and use functions outside classes and objects in Scala?

I begin to learn Scala and I'm interesting can I define and use function without any class or object in …

scala functional-programming scala-2.10
What's the easiest way to use reify (get an AST of) an expression in Scala?

I'm looking at alternatives to -print or javap as a way of figuring out what the compiler is doing in …

scala macros scala-2.10
Getting a structural type with an anonymous class's methods from a macro

Suppose we want to write a macro that defines an anonymous class with some type members or methods, and then …

scala macros scala-2.10 structural-typing scala-macros
How do I format a string with string interpolation in Scala as a fixed width string?

I'm interfacing with a really old system and the file I need to generate needs a field that is a …

scala padding scala-2.10 string-interpolation format-string
What is coming up for scala in 2.10?

Obviously there is the reflection library but what else can we expect to see in the next release of scala? …

scala scala-2.10
How to know if an object is an instance of a TypeTag's type?

I have a function which is able to know if an object is an instance of a Manifest's type. I …

scala instanceof scala-2.10
Why sbt compile doesn't copy unmanaged resources to classpath?

Could you tell me why sbt compile doesn't copy unmanaged resources to classpath? On the other hand sbt package does. …

scala sbt scala-2.10
Scala "update" immutable object best practices

With a mutable object I can write something like var user = DAO.getUser(id) user.name = "John" user.email ="john@…

scala functional-programming immutability scala-2.10
spray-json and list marshalling

I'm using spray-json to marshal lists of custom objects into JSON. I have the following case class and its JsonProtocol. …

scala scala-2.10 spray spray-json