Fork me on GitHub

Graceless Failures

Tips, tricks, missteps, and minor revelations on the path to Scala wisdom.

Parser Surprise

1.toString works fine.

-1.toString says: error: ‘;’ expected but ‘.’ found

Need to use (-1).toString.