Wrapping Up

You now have a thorough understanding of how to use collections both within and around a domain model to collect both entities and values. Most of the data in a Clojure application is built from nothing but the collections discussed here. Occasionally you’ll find it useful to build your own collection for specialized considerations or to maximize performance.

We’ve set the stage for how we expect to manage state in Chapter 4, State, Identity, and Change. Like the concepts discussed in this chapter, state management relies heavily on the foundations of immutable values and pure transformation functions.

But first we’re going to take our knowledge of collections and functions and focus on how to extend our ability to process data. ...

Get Clojure Applied 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.