Skip to content

Introducing functional programming to interested and enlightened people.

Notifications You must be signed in to change notification settings

petern-sc/FunctionalTraining

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FunctionalTraining

Introducing functional programming to interested and enlightened people.

Running and compiling

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

Completing the exercises

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.

Recommended order

  • ComposingExercises
  • RecursionExercises
  • OptionalExercises
  • FoldingExercises
  • Box
  • ValidationExercises
  • ExpressionProblemExercises
  • IOExercises
  • RefTransExercises

About

Introducing functional programming to interested and enlightened people.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 59.9%
  • Shell 40.1%