Scala (programifo-linguo)

Scala es funcional-objektala programifo-linguo altanivela kreita ye 2001 da Martin Odersky.

 Exempli 
 "Saluto, mondo!" 
object SalutoMondo {
  def main(args: Array[String]): Unit = {
    println("Saluto, mondo!")
  }
}
 Sortado 
def qsort(list : List[Int]): List[Int] = list match {
  case Nil => Nil
  case pivot :: tail => {
    val (smaller, rest) = tail partition (_ < pivot)
    qsort(smaller) ::: pivot :: qsort(rest)
  }
}

Kategorio:programifo-lingui