Clojure provides a language API based upon a select set of data structures. What this means is that the syntax for certain programming functionality matches the underlying data structures.
For example, here are the main data structures that Clojure provides:
List: (1 2 3)
Vector: [1 2 3]
Map: {:foo "bar"}
Set: #{1 2 3}
Note
There are other data structures, terminology, and related concepts, as well as a great reference guide, which can be found in the official Clojure documentation.1 However, for the purposes of what we wish to cover in this chapter, it can be a little “low-level” at times, ...