Suggesting Refactor To The Candy Machine Problem's Solution
After going through the solution to the Candy Machine Problem of chapter 6 of FP in Scala, I wanted to suggest a small refactoring of the problem’s solution.
See comments in the Pull Request on Github