Fork me on GitHub
John MacIsaac17:05:36

From chapter 5's pegthing.core When I run this code in intellij-Cursive’s repl, I get the following error message: Syntax error macroexpanding clojure.core/ns at (core.clj:1:1). ((require [clojure.set :as set]) (:gen-class)) - failed: Extra input spec: :clojure.core.specs.alpha/ns-form Anyone know how to fix this?


Inside the ns declaration, you need :require (with the colon) and not just require

John MacIsaac18:05:27

Thank you! @manutter51 That solved it.

👍 4