The definition of big?
in the book is (defn big? [ ] (> x 100))
. I got below error in clj REPL:
user=> (defn big? [ ] (> x 100))
CompilerException java.lang.RuntimeException: Unable to resolve symbol: x in this context, compiling:(NO_SOURCE_PATH:90:16)
The issue is fixed after changing it to (defn big? [x] (> x 100))