Hi,

I've just run across a different error reporting in 1.3.0-alpha2 to
the one in 1.2. See the sample below.

Clojure 1.3.0-alpha2
user=> (use 'clojure.contrib.monads)
nil
user=> ((fetch-val 1) 4)
ClassCastException java.lang.Long cannot be cast to clojure.lang.IFn
clojure.contrib.monads/fetch-val/fn--793 (monads.clj:369)

Clojure 1.2.0
user=> (use 'clojure.contrib.monads)
nil
user=> ((fetch-val 1) 4)
java.lang.ClassCastException: java.lang.Integer cannot be cast to
clojure.lang.IFn (NO_SOURCE_FILE:0)

Is it intended? Why does the error message contain j.l.Integer in 1.2
whereas j.l.Long in 1.3.0-alpha2? It seems as a possible difference in
memory usage (a wider type) or anything I couldn't think of atm, but
rises a red flag in my mind.

Shall I be concerned w/ it or is it not that important? Please explain
for me being a clojure newcomer.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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