Fork me on GitHub

I cloned the pegthing repository with the code described in the True and Brave book. I updated project.clj to use clojure 1.10.1 as dependency instead of 1.5.1. Now when I "Load Current File and Dependencies" as discussed earlier today by @deas and @pez, I get this error: ''' Evaluating file: core.clj Syntax error macroexpanding clojure.core/ns at (c:\Users\roger\projects\clj\pegthing\src\pegthing\core.clj:1:1). ((require [clojure.set :as set]) (:gen-class)) - failed: Extra input spec: :clojure.core.specs.alpha/ns-form ''' src\pegthing\core.clj first few lines look like this: ''' (ns pegthing.core (require [clojure.set :as set]) (:gen-class)) ''' Any ideas what is wrong?


That should be :require - seems the colon got missed


Oh, thanks! Now I can navigate around looking up definitions using F12 or Alt-F12. 🙂


Hmm, sorry, used the wrong quotes for that code