braveandtrue 2020-06-20

@binny has joined the channel

I'm just starting the pegthing project but when I try compiling (ns pegthing.core   `(require [clojure.set :as set])`   `(:gen-class))`

I'm getting Syntax error macroexpanding clojure.core/ns at (pegthing\core.clj:1:1). ((require [clojure.set :as set]) (:gen-class)) - failed: Extra input spec: :clojure.core.specs.alpha/ns-form

If I get rid of (require [clojure.set :as set]) , though, it runs as expected

has anyone ran into this?

Inside (ns) you need (:require...) not (require...)

🤦 Thank you!!

@diptigautam01 has joined the channel