I tried adding (clojure.main/repl :print pprint) to my user.clj, but clojure 
then reports an error, because clojure.main/repl does not (yet) exist.  Is 
there any work-around for this?  Maybe a way to register onLoad style hooks 
that will be executed once the repl is running?  Here's my current 
(butt-ugly) work-around:

; user.clj -- to be run manually once repl prompt appears
(defn pretty [] (eval '(clojure.main/repl :print pprint)))

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
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

Reply via email to