Downloading Sample Code

The sample code for the book is available from the following location:

  • The Programming Clojure home page[4] links to the official copy of the source code and is updated to match each release of the book.

Individual examples are in the examples directory, unless otherwise noted.

Throughout the book, listings begin with their filename, set apart from the actual code by a gray background. For example, the following listing comes from src/examples/preface.clj:

 (println ​"hello"​)

If you’re reading the book in PDF form, you can click the little gray box preceding a code listing to download that listing directly. With the sample code in hand, you are ready to get started. We’ll begin by meeting the combination of features that make Clojure unique.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.144.194