July 2018
Intermediate to advanced
400 pages
12h 14m
English
There are three broad categories of functions that compose a functional program: transforms, filters, and combines. Each category is designed to work on collection data structures to yield a final result. Functions in functional programming are also designed to be composable, meaning that simple functions can be combined to build complex behavior.
The first category of function in functional programming is transforms. A transform function works on the contents of a collection by walking through the collection and transforming each item with a transformer function provided as an argument. The transform function then returns a copy of the modified collection, and execution proceeds to the next ...