On Sat, Dec 13, 2008 at 4:46 PM, Mark Volkmann
<r.mark.volkm...@gmail.com> wrote:
>
> I just updated to the latest version of clojure-contrib.  show works
> for me, but source doesn't. Here's what I did.
>
> (require 'clojure.contrib.repl-utils)
> (show 1/2) ; gives the output you show above

You must be getting 'show' from somewhere else, as 'require' won't
bring it into your namespace.  Perhaps you have an older 'show' in
user.clj or something.

Try: (use 'clojure.contrib.repl-utils) instead.

Also note that you must have the .clj sources in your classpath for
'source' to work.  I thought that they were no longer included in the
clojure.jar, but checking just now they appear to still be there.
Anyway, if 'source' prints "Source not found" for a Var you know to be
defined and 'refer'ed correctly, it may be because the .clj file
defining it is not in your classpath.

--Chouser

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