Many thanks, all questions I had are answered. And some I didn't have but should!
Greetings, alux On 18 Mrz., 14:25, Meikel Brandmeyer <m...@kotka.de> wrote: > Hi, > > On Mar 18, 12:06 pm, alux <alu...@googlemail.com> wrote: > > > is there a possibility to reload a clj-file that has been provided at > > the REPL-start via -i filename.clj ? (It doesn't have a name space.) > > > This would save me to provide a namespace in the file an thus type (ns > > my-ns) after every REPL start. > > I understand you, that you don't mean "reload" in the sense of > "reading the file and evaluating its contents", but as "change to the > namespace defined in the file". If this is true: java -cp clojure.jar - > i foo.clj -e "(in-ns 'foo)" -r > > Reloading the file in the first sense, is done via load-file or (if > the file is on the classpath in the correct directory) > (require :reload 'foo). > > Note: ns is only to initially define the namespace. To change the > namespace use in-ns. > > Sincerely > Meikel -- 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