A purely functional example using Scala
On this tutorial we’re going to explore the basics of purely functional programming using Scala. One of the principles with purely functional style, is that we have to define concepts in terms of functions.
The basics: Comparing a number
We’re going …