Fork me on GitHub
Binny Zupnick08:06:27

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

Binny Zupnick08:06:54

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

Binny Zupnick08:06:10

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

Binny Zupnick08:06:15

has anyone ran into this?


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

Binny Zupnick03:06:52

:face_palm: Thank you!!