Spotlight archive

Guess the language.

Three lines, six guesses.

MODESpotlight0/6
Spotlight · ?.??
1val totals = orders.groupMapReduce(_.country)(_.amount)(_ + _)
2val top = totals.toSeq.sortBy(-_._2).take(5)
3top.foreach { case (c, amt) => println(s"$c: $amt") }
Keep going