If you use lein repl, is there an easy equivalent?

On Fri, Jul 1, 2011 at 9:53 AM, David Powell <[email protected]> wrote:
>
> user.clj is old, and isn't ideally suited for pre-loading handy things into
> a repl.
> An alternative might be to put your repl init stuff in a file, such as:
> /home/repl-init.clj:
> (require 'clojure.pprint)
> (clojure.main/repl :print clojure.pprint/pprint)
> And then change your repl startup script to be:
> java -cp clojure.jar clojure.main -i /home/repl-init.clj -r
> Because this is loaded after the repl is inited, you can also add lines
> which set repl-bound variables such as:
> (set! *print-length* 5)
> which was raised recently as being something that user.clj can't do.
> --
> Dave
>
> --
> 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



-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

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