/scala-koans

Make Dick Wall's Scala Koans runnable on new Scala Version again

Primary LanguageScala

Motivtion

This repo is the attempt to make the scala koans from the Scala Koans Repository from Dick Wall Dick Wall's Scala Koans Repository runnable on Scala 2.12. and sbt 0.13.15 again.

Language Evolution

Because the language evolved some things got deprecated like the
  • Octal literals
  • removal of the old project plugins for sbteclipsify
  • use of the erasure method (which had been replaced by runtimeClass)
  • type missmatches for the KoanSuite for the runTest(s) method which now uses Args

Prerequisites

sbt installed on your computer (I did run sbt 0.13.15)

Run

Clone or download the repository and run
$ sbt enlightMe
This will start the Koans and stop after running them for change in files.
(englightMe is a custom command added in build.sbt)

IDE

Personally this did also run in idea, (generated via gen-idea) configured on my Macbook.

Update

Now and then I will have a look if the koans will still work with the current Scala Version.

License

The Scala Koans are licensed as Creative Commons -- NonCommercial. http://creativecommons.org/licenses/by-nc-sa/3.0/