> (defrecord Foo [properties]
> Fooable
> (foo [f]
> (let [s (java.util.HashSet.)]
> (doto s
> (doseq [p properties] (.add s p))
>
> When I load/reload the above code in the repl I get this error
>
> vector for its binding (config.clj:22)>
The problem is the way you're cal
I am getting an error when trying to call doseq from within a defrecord
function, but I do not get the error with the same code outside of the
defrecord. Here is an example:
(defprotocol Fooable
(foo [this]))
(defn add-props [s properties] (doseq [p properties] (.add p)))
(defrecord Foo [prope