I find this behaviour a little surprising:
--foo/core.clj:
(ns foo.core
(:require [foo.bar :as test]))
(def ark (test/a-var test/another-var))
--foo/bar.clj:
(ns foo.bar)
(def a-var {:animal dog})
(def another-var {animal: cat})
REPL:
in the repl I get:
foo.core (map class ark)
=
Hi,
On 8 Apr., 16:37, Linus Ericsson oscarlinuserics...@gmail.com wrote:
(def ark (test/a-var test/another-var))
This is not the whole truth. I think you wrote here (def ark '(test/a-
var test/another-var)). With the above code ark should be nil.
You probably want (def ark (list ...)) or (def