Top "Scala-2.9" questions

Version 2.9 of the Scala language for the JVM.

Scala: write string to file in one statement

For reading files in Scala, there is Source.fromFile("file.txt").mkString Is there an equivalent and concise way to …

scala scala-2.9
coin change algorithm in scala using recursion

I am trying to program the coin change problem in Scala using recursion. The code that i have written is …

scala scala-2.9
What is the === (triple-equals) operator in Scala Koans?

I started working my way through the Scala Koans, which is organized around a suite of unit tests with blanks …

scala scalatest scala-2.9
Getting started with Scala, Scalatest, and Maven

I created a new scala project with the following: mvn org.apache.maven.plugins:maven-archetype-plugin:2.2:generate -DarchetypeGroupId=org.scala-tools.archetypes …

unit-testing scala maven scalatest scala-2.9
Constructor cannot be instantiated to expected type; p @ Person

I am using scala version : Scala code runner version 2.9.2-unknown-unknown -- Copyright 2002-2011, LAMP/EPFL I was trying the deep …

scala scala-2.9
SBT including the version number in a program

I want a program I'm building to be able to report its own version at runtime (e.g. scala myprog.…

scala sbt scala-2.9
error: ':' expected but identifier found

Since type is a reserved word, I append an underscore when using it as an identifier. (I can find no …

scala syntax scala-2.9