Chapter 4. Collections and Functional Programming
We are now comfortable with using Java code from our Clojure programs, and we also know how to expose our Clojure programs with a Java API. However, we need to take a deeper look at Clojure and its true nature, which is functional programming.
In this chapter, we will cover the following topics:
- Basics of functional programming
- Persistent collections
- Sequential and associative collections
- The sequence abstraction
- Collection types
- Applying functional programming to collections