- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Scala Language
The main forum for discussions and news about the Scala language.
Regression in Scala 2.10 concerning self types
Hi,
I have the following code, which stopped compiling with the current trunk 2.10, but worked with 2.9.1:
I have the following code, which stopped compiling with the current trunk 2.10, but worked with 2.9.1:
trait TFn1B {
type In
type Outjava.lang.NoClassDefFoundError scala on JVM
Hallo I am desperate :-(
Someone please help me ?
I start with scala and hello world.
My goal is to run the program scala on the JVM
Regarding GSoC 2012
Hello everyone,
I am Aashish Mittal, a student of Computer Engineering from Sardar Patel College of Engineering, India. I aspire to take part in GSoC 2012 with Scala as my mentoring organization.
I am Aashish Mittal, a student of Computer Engineering from Sardar Patel College of Engineering, India. I aspire to take part in GSoC 2012 with Scala as my mentoring organization.
Reorganization of SIPs site, please update your forks
Hi all,
(cross-posted from scala-sips)
We've done a bit of reorganizing on the SIPs site. The content and URLs are all exactly the same, but any existing forks of the repo need to be updated to use: http://github.com/scala/scala.github.com.
Cheers,
Heather
Overriding a method that returns a repeated parameter
Given a method that returns a repeated parameter (getXs below):
> scala> class A(xs: Int*) { def getXs = xs }
> defined class A
Is there any way to override that method?
A Question about Type Constructor Inference
Hi.
I have some questions about type constructor inference algorithm of Scala.
Yesterday, my acquaintance said that it seems strange behavior that
the following
code doesn't compile successfully (in Scala 2.9.1.final).
class K {
trait A[T] { def t : T }
trait B extends A[Int]
def g[T, C[X] <: A[X]](a : C[T]) = a
def f[C[_] <: A[_]](a : C[_]) = a
g(new B { def t = 1 } : B) // ok
g(new B { def t = 1 }) // error
}
The error messages are as followings.
>>>
K.scala:7: error: type mismatch;
found : java.lang.Object with K.this.B
required: ?C[?T]
Note that implicit conversions are not applicable because they are ambiguous:
both method any2Ensuring in object Predef of type [A](x: A)Ensuring[A]
and method any2ArrowAssoc in object Predef of type [A](x:
Scala-tools.org going down
http://lift.la/scala-toolsorg-winding-down
Scala-tools.org is going down and not accepting any new OSS projects. For those of us who wish to continue release software, I recommend migrating over to Sonatype. They put a few (good practice) limitations on contributions, but scala-tools.org would have done the same before long anyway. The benefit of Sonatype hosting is that your projects will make it onto the maven-central repository and benefit from the myriads of mirrors.
Scala-tools.org is going down and not accepting any new OSS projects. For those of us who wish to continue release software, I recommend migrating over to Sonatype. They put a few (good practice) limitations on contributions, but scala-tools.org would have done the same before long anyway. The benefit of Sonatype hosting is that your projects will make it onto the maven-central repository and benefit from the myriads of mirrors.
Deadline Extension: The Third Scala Workshop
We've already received a fair number of submissions (thank you!), but have decided to give those who need a bit more time the opportunity to finish their papers.
If you'd still like to submit a paper to the academic track of Scala Days, aka the "Scala Workshop,"
- submit an abstract by Wednesday 18 Jan at 9AM CET on http://www.easychair.org/conferences/?conf=days2012 (this will allow us to get the review process going)
If you'd still like to submit a paper to the academic track of Scala Days, aka the "Scala Workshop,"
- submit an abstract by Wednesday 18 Jan at 9AM CET on http://www.easychair.org/conferences/?conf=days2012 (this will allow us to get the review process going)









