On Sunday 21 December 2008 13:35, Mark Volkmann wrote:
> Why do I get an IncompatibleClassChangeError below?  I'm using
> revision 1180.
>
> (def my-map {:a 1 :b 2})
> (namespace my-map)
> java.lang.IncompatibleClassChangeError (NO_SOURCE_FILE:0)

I'm not sure about that specific error, though I've seen it several 
times myself.

However, asking for the namespace of a map is nonsensical. Perhaps you 
want to know the namespace of the Var associated with "my-map"?

user=> ^#'my-map
{:ns #<Namespace user>, :name my-map, :file "repl-1", :line 17}


Randall Schulz

--~--~---------~--~----~------------~-------~--~----~
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