Hi, On 12.11.2008, at 22:38, Giacecco wrote:
> > Hi all, > I am trying setting up clojure to use rlwrap as described at > http://en.wikibooks.org/wiki/Clojure_Programming#Enhancing_Clojure_REPL_with_rlwrap > on a MacOS 10.5.5. > > I have prepared the clj-completions.clj the instructions describe, but > it fails on the second of the three commands. If I run it from the > console, I see the following: > > gianfranco-cecconis-macbook-pro:clojure giacecco$ clj > Clojure > user=> (defmacro with-out-file [pathname & body] > `(with-open stream# (new java.io.FileWriter ~pathname) > (binding [*out* stream#] > [EMAIL PROTECTED]))) > nil > user=> (def completions (keys (ns-publics (find-ns 'clojure)))) > java.lang.NullPointerException (NO_SOURCE_FILE:5) on the most recent clojure SVN, I get this error, too. This is because the funcions that used to be in the NS clojure have been moved to clojure.core. (def completions (keys (ns-publics (find-ns 'clojure.core)))) works for me. all the best, --Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
