diff options
author | michelou <michelou@epfl.ch> | 2007-05-16 13:30:30 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-05-16 13:30:30 +0000 |
commit | 1f65685c9626929f3e6d7b81225f57fd4e68438c (patch) | |
tree | 54d3462ca86d36545ab6ef946a1095a0f15ac38f /docs/examples/sort2.scala | |
parent | 73b2db5db4fc7316467b51299994b47065bde74d (diff) | |
download | scala-1f65685c9626929f3e6d7b81225f57fd4e68438c.tar.gz scala-1f65685c9626929f3e6d7b81225f57fd4e68438c.tar.bz2 scala-1f65685c9626929f3e6d7b81225f57fd4e68438c.zip |
updated examples
Diffstat (limited to 'docs/examples/sort2.scala')
-rw-r--r-- | docs/examples/sort2.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/sort2.scala b/docs/examples/sort2.scala index 1e471b89df..8e0b070250 100644 --- a/docs/examples/sort2.scala +++ b/docs/examples/sort2.scala @@ -16,10 +16,10 @@ object sort2 { } } - def main(args: Array[String]): Unit = { + def main(args: Array[String]) { val xs = List(6, 2, 8, 5, 1) - Console.println(xs) - Console.println(sort(xs)) + println(xs) + println(sort(xs)) } } |