I tried the following way: 

java -Xmx1G -cp $CLASSPATH clojure.main -i src/my-repl/repl.clj -r

where src/repl/repl.clj is : 







 (ns my-repl.repl)(def my-var "hi") (in-ns 'my-repl.repl)

but after clojure repl launched, I am always in the default user namespace not 
'my-repl.repl'. 
How to achieve this so I can use my-var directly after repl launching ? 

Thanks, 
Stone
 


-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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