Fork me on GitHub
#calva
<
2019-11-17
>
roger42920:11:56

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?

danie20:11:22

That should be :require - seems the colon got missed

roger42921:11:22

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

roger42920:11:32

Hmm, sorry, used the wrong quotes for that code