I newly at scala and tried to pass some easy scala worksheet.
IDE is Intellij IDEA community edition and OS Ubuntu 12.04, sbt
was installed correctly.
But it throws error - error: not found: value
OI can't understand why this happen:
Code:
The complete error message is error: not found: value abs
. The value "abs" wan't found. You want math.abs
. Alternatively you could add import math._
somewhere before you need these math functions.