I'm still a scala newbie, so any comments/suggestions are appreciated.
The full source code is here: https://gist.github.com/dpapathanasiou/b9d85685a0381f1deea0
The full source code is here: https://gist.github.com/dpapathanasiou/b9d85685a0381f1deea0
One tiny cosmetic suggestion that popped to my eyes since you asked for comments :)
def parseInputRange (s: String): Array[Int] = {
val ab = s.split(":").map(_.toInt)
(ab(0) to ab(1)).toArray
}
the `to` method is inclusive on the end of the range, so it is the same as until x + 1Good luck!