14 Functional tools for nested data


In this chapter

  • Build higher-order functions that operate on values stored in hash maps.
  • Learn to easily operate on deeply nested data with higher-order functions.
  • Understand recursion and how to do it safely.
  • Understand when to apply abstraction barriers to deep, nested entities.

We’ve learned several useful functional tools that operate over arrays. In this chapter, we’re going to derive and use functional tools that operate on objects as hash maps. These tools allow you to operate on deeply nested maps, which we often find as we build more complex data structures together. Without the tools, operating ...

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.