13 Chaining functional tools

Image

In this chapter

  • Learn to combine functional tools to do complex queries over data.
  • Understand how to replace complex, existing for loops with chains of functional tools.
  • Learn how to build data transformation pipelines to do work.

We’ve learned to use the functional tools in isolation to do the work we typically do with for loops over arrays. But as the computation gets more complex, a single functional tool can’t do the job. In this chapter, we will learn how to express complex calculations as a series of steps called a chain. Each step is an application of a functional tool. By combining multiple functional tools ...

Get Grokking Simplicity 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.