Fork me on GitHub
#calva
<
2019-11-17
>
worrelsik20: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?

danieroux20:11:22

That should be :require - seems the colon got missed

worrelsik21:11:22

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

worrelsik20:11:32

Hmm, sorry, used the wrong quotes for that code