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)
user=>
What does that "NO_SOURCE_FILE:5" mean? Thank you in advance!
Giacecco
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---