note: please test your environment before you arrive so we can get started quickly on the day.
note: please make sure to grab the latest copy of this repository the day before the course with a git pull origin master
.
If you have any problems email me via [email protected].
Pre-requisites:
- A valid install of java 6+
- git
- if you are running windows only install sbt using the msi installer
Getting scala and validating your environment:
git clone https://github.com/markhibberd/lambdajam-functional-programming-in-scala.git
cd lambdajam-functional-programming-in-scala
./sbt test # (or just sbt test under windows)
This may take a few minutes. It will:
- Download the sbt build tool.
- Download the required versions of scala.
- Compile the main and test source code.
- Run the tests.
You should see success output, no errors and, an exit code of 0.
You should come armed with a good text editor.
Anything that you can navigate around quickly should be fine, but if you prefer an IDE, you can use the eclipse based scala-ide or intellij with the scala and sbt plugins installed.
You can generate project files for intellij with:
./sbt 'gen-idea no-classifiers'
You can generate project files for eclipse with:
./sbt eclipse