O'Reilly logo

Clojure in Action, Second Edition by Amit Rathore and Francis Avila

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Clojure elements: Data structures and functions

This chapter covers

  • Clojure’s core data structures
  • Clojure functions
  • Program flow with Clojure

In the previous chapter, you read about some features of the Clojure language that make it interesting. You saw some code, but it probably looked a little alien. It’s now time to set that right. This chapter and the next address the basics of writing code in Clojure. This one will give an overview of the various data structures that make up the core of the language and walk you through the fundamentals of the structure and flow of Clojure programs. By the end of the next chapter, you’ll be able to read most Clojure code and write your own programs.

2.1. Coding at the REPL

Unlike many ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required