File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 22Scala Software Distributions
33----------------------------
44
5- - scala-<major>.<minor>.<patch>.tar.bz2 Unix distribution
6- - scala-<major>.<minor>.<patch>.tar.gz Unix distribution
5+ - scala-<major>.<minor>.<patch>.tgz Unix distribution
76- scala-<major>.<minor>.<patch>.zip Windows distribution
87
98The standard distributions require Java 1.5 or above. If you don't
@@ -32,15 +31,10 @@ directly accessible.
3231
3332You may test the distribution by running the following commands:
3433
35- $ ./bin/sbaz install scala-devel-docs
36- $ ./bin/scalac doc/scala-devel-docs/examples/sort.scala
37- $ ./bin/scala examples.sort
38- [6,2,8,5,1]
39- [1,2,5,6,8]
4034$ ./bin/scala
41- scala> examples.sort.main(null)
42- [6,2,8,5,1]
43- [1,2,5,6,8]
35+ scala> Array(4,3,2,1).sorted
36+ res0: Array[Int] = Array(1, 2, 3, 4)
37+
4438scala>:quit
4539$
4640
You can’t perform that action at this time.
0 commit comments