Playground to learn higher order functions in Swift :)
- Pass function to another function
- Return a function from another function
- MAP - Used to apply some operation on each item in an array or dictionary
- FILTER - Used to filter out items from an arry or dictionary based on a condition
- REDUCE - Used to combine all items into a single new value
- FLATMAP - Used to flatten a collection of collections
- Chaining multiple higher order functions