Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.37 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.37 KB

scalaxercise

This repository hosts the code for some exercises for Scala-Montreal meet-ups.

Getting started!

Compile and Run

Go into the project directory and on the command line run

sbt compile

This will compile this template project.

Run the tests using

sbt test

Reactive compile/test loop (will recompile and re-run the test every time a source file has changed)

sbt ~test

Using IDEA

Any editor can be used, but if you are using IntelliJ IDEA, install the scala plugin (File -> Settings -> plugins)

Then use the sbt plugin to load the project http://blog.jetbrains.com/scala/2013/07/17/sbt-plugin-nightly-builds/

Instructions

In the test sources you will find test cases. Some are completed and serve as examples. Some are marked as 'ignore'. The idea is to put the test active and make it pass one by one.

I suggest starting with the functions package followed by collections, recursive, patternmatching and exceptions.