Introducing functional programming to interested and enlightened people.
In the root directory there is a shell script called sbt
it runs the sbt console.
$ ./sbt
To run the exercises simply type test
in the sbt
console.
> test
To run a single exercise type testOnly ft.<package>.<classnameSpec>
> testOnly ft.higherorder.ComposingExercisesSpec
I've kept this quite simple.
There are five packages, covering the areas we will be covering in this course.
Remember:
- The types are the gateway to the solution.
- Avoid mutability at all costs.
Have fun.
- ComposingExercises
- RecursionExercises
- OptionalExercises
- FoldingExercises
- Box
- ValidationExercises
- ExpressionProblemExercises
- IOExercises
- RefTransExercises