On Sun, Apr 7, 2013 at 10:36 AM, Josh Kamau <joshnet2...@gmail.com> wrote:

>
> I keep getting this :
> ClassNotFoundException clojure.inspector  java.net.URLClassLoader$1.run
> (URLClassLoader.java:366)
>
> when i try to do this :
>  (clojure.inspector/inspect (range 10))
>
> Do i need to require/use or add any dependency ?
>

It is shipped with clojure.  clojure.inspector is the namespace name, so
you'll need to require that namespace before you can use it:

  (require 'clojure.inspector)
  (clojure.inspector/inspect (range 10))

If you were writing real code, you'd normally use the ns form to require
namespaces.

-- 
Dave

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to