September 2017
Beginner to intermediate
396 pages
9h 46m
English
In this recipe, we will continue working with recursive functions. In addition to recursion, we will introduce higher order functions. Higher order functions are functions that take other functions as an argument. Higher order functions introduce a layer of abstraction over other functions. If you see a certain pattern repeated over and over again, then you might have hit a situation that can be abstracted as a higher order function.
Though provided by default by Haskell's Prelude module, we will write our own version of two important higher order functions, map and filter.
Read now
Unlock full access