Meikel Brandmeyer <m...@kotka.de> writes:
> Am 01.02.2009 um 14:27 schrieb Jan Rychter:
>
>> (loop [[a b] [1 2]]
>>    (if (= a 2)
>>      true
>>      (recur [(+ a 1) (+ b 1)])))
>
> 1:1 user=> (loop [[a b] [1 2]]
>              (if (= a 2)
>                true
>                (recur [(+ a 1) (+ b 1)])))
> true
>
>> java.lang.NoClassDefFoundError: clojure/core$loop__4287$fn__4289
>> (NO_SOURCE_FILE:1)
>>    [Thrown class clojure.lang.Compiler$CompilerException]
>
> My (free) interpretation of this error message:
> Your clojure setup is broken. There was a class for loop generated,
> which has the name clojure/core$loop__4287$fn__4289.  But now this
> functions is referenced, but not found.
>
> My suggestion is: Rebuild your clojure.jar and your problem
> should go away.

Indeed it did, thanks!

> (My 2 very personal ยข: "Blame yourself first" will solve >95%
> of Clojure's "bugs" you encounter. This is not intended as an
> offence, but as a very general remark to all the users including
> - first and foremost - myself.)

I fully agree -- but I am new to Clojure and this was rather cryptic and
unexpected. I did try restarting Clojure and narrowing it down to a
minimal example.

--J.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to