scala/README
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sun, 03 Mar 2013 12:44:42 +0000
changeset 211 1d6a0fd9f7f4
parent 205 c7975ab7c52e
child 225 0974c59e7029
permissions -rw-r--r--
added factorial as an example


The packages can be compiled with

  scalac lib.scala turing.scala abacus.scala recs.scala comp1.scala comp2.scala

If you get an error, it is advisable to clean 
out the existing class-files

  rm */*.class


After compilation, the examples can be run in
the REPL as well as in scala. For example


  scala ex.scala

or

  scala -cp $PWD ex.scala


The directory can be cleaned with

  rm -rf *~ lib turing abacus comp1 comp2 recs