Ah of course. Thanks a lot, your explanation makes things a lot
clearer! I guess because of the direct nature of the REPL I hadn't
thought about compile time vs runtime, but that makes perfect sense.
On Dec 29, 8:00 pm, Meikel Brandmeyer wrote:
> Hi Kees-Jochem,
>
> Am 29.12.2008 um 20:37 schr
Hi Kees-Jochem,
Am 29.12.2008 um 20:37 schrieb Kees-Jochem Wehrmeijer:
I created a small file foo.clj with the following contents:
(defn foo [] :bar)
Then from a REPL I try the following:
(do (load-file "foo.clj") (foo))
but this gives an error message:
java.lang.Exception: Unable to resolve s
Hi everybody,
I just got started with Clojure and I'm now trying to simultaneously
learn Lisp and Java. My progress is slow, but I'm having a lot of fun.
I hit a small roadblock though, because I can't figure out why calling
load-file from within a do is behaving the way it is. I'm probably
missi