Higher order functions in Swift

Swift's functional aspects such as immutability and higher order functions (functions which allow functions/closures as parameters/return values) are awesome. In this post, Craig Grummitt looks at the latter, presenting examples of how we can use Swift's higher order functions to perform operations on collections.