List of Listings
Chapter 1. Introduction to Clojure
Listing 1.1. A small program written in our fictitious XML-based language
Listing 1.2. A slightly less verbose version of the same program
Listing 1.3. Typical duplication in Java code
Listing 1.4. The same code in Clojure, written as is
Listing 1.5. Removing duplication via a domain-specific macro
Chapter 3. Building blocks of Clojure
Listing 3.1. Mutually recursive functions that can blow the stack
Listing 3.2. Mutually recursive functions that can be called with trampoline
Listing 3.3. Function composition using higher-order functions
Get Clojure in Action 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.