Clojure is based on collections, but how are they used? What are the patterns for making the most of them? This section introduces you to the workhorses of the Clojure programming language, the immutable collections. We go over every built-in collection, how they are used, and when you should use them.
Introduction to Clojure's Collections
PreviewSequential Access Pattern
Remembering Duplicates Access Pattern
Lookup by key Access Pattern
Associate key and value Access Pattern
Dissociate a key and value Access Pattern
Count the elements Access Pattern
Equality Comparison Access Pattern
Removing an item from a set Access Pattern
Splitting a sequence Access Pattern
Containment Check Access Pattern
First-in, first-out Access Pattern
Last-in, First-out Access Pattern
Multi-comparison Usage Pattern
Vectors and Lists in syntax