progs/hello-world.scala
author Christian Urban <urbanc@in.tum.de>
Fri, 05 Oct 2018 11:27:16 +0100
changeset 194 060b081523de
parent 144 716042628398
child 202 f7bcb27d1940
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
object Hello extends App { 
144
716042628398 updated
Christian Urban <urbanc@in.tum.de>
parents: 32
diff changeset
     2
  val y = 42
716042628398 updated
Christian Urban <urbanc@in.tum.de>
parents: 32
diff changeset
     3
  val foo = (1 to 10).toList
32
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
  println("hello world")
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
}