I have a bootstrap file (executed either on the command line or via user.clj) that contains an in-ns call, along with other stuff that I have verified working (e.g. println statements).
I'd like the bootstrap file to leave the REPL in whatever namespace I last specified with my in-ns. But I'm getting different (unexpected) results in two cases. Case 1: Slime: the in-ns is ignored (although expressions around it are evaluated), and my repl is in the user ns. Case 2: Command-line (java ... clojure.main -i ./bootstrap.clj -r) the repl prints user->, but is actually in the correct namespace (I can execute functions defined in that namespace directly, without explicitly in-ns from the repl command line). Any ideas how to get the repl to "start" in a different NS than user and why I'm seeing different behavior in my two cases? thanks, Greg --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---