small medium large xlarge

The latest version of the book is P1.0, released 19 days ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (11-May-18)
PDF page: 22
In the "How Many Slots?" info box: "This enables the count function do its thing..." should probably be "This enables the count function to do its...more...
  • Reported in: P1.0 (20-May-18)
Paper page: 30
In the sidebar "Associative Vectors" it is stated that dissoc works on vectors. I do not think that this is correct. user=> (dissoc [0 1 2] 1) j...more...
  • Reported in: P1.0 (15-May-18)
PDF page: 51
The print-any-args function is defined as (defn print-any-args [& args] (println "My arguments are:" args)) and the console output I see for invoking ...more...
  • Reported in: P1.0 (15-May-18)
PDF page: 89
The redefinition of compute-area as (defn compute-area [diameter] (* PI radius (/ diameter 2.0))) gives me a compiler error: "Unable to resolve symbol...more...
  • Reported in: B3.0 (22-Apr-18)
PDF page: 179
This function did not work for me: (defn n-gt-10-lt-100 [n] (s/and number? #(> n 10) #(< n 100))) When I removed the argument n and changed the n ...more...

Stuff To Be Considered in the Next Edition

  • Reported in: B3.0 (20-Feb-18)
PDF page: 70
It might be good to mention that nested function literals will give error message that confuse a novice (or a master, at first). A long function liter...more...
russ olsen says: It's a good point, but I think it will need to wait until the next edition.
  • Reported in: B3.0 (22-Feb-18)
PDF page: 178
"Note also that while clojure.spec is well integrated with Clojure, it is delivered as a separate library. Thus if you are using Leiningen you will ...more...
russ olsen says: I think I'm going to leave this as is given that at least for a while people will be using various versions of Clojure.