Chapter 4. Transformations Using Map/Reduce

The preceding three chapters alluded to transformation possibilities with Lo-Dash. Whether you're working with collections, objects, or functions, a common pattern with Lo-Dash functions is transformation of the input by generating a new, albeit slightly altered, version. The idea of transforming values is central to applicative programming, where much of the code you write is a series of transformations. Beginning with this chapter, we're going to shift gears and look at transformations in more detail.

Particularly, we'll be looking at all the interesting things we can do with Lo-Dash and the map/reduce programming model. We'll start off with the basics, getting our feet wet with some basic mappings ...

Get Lo-Dash Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.