Re: Simple Namespace Question

2008-11-13 Thread Michael Wood
On Thu, Nov 13, 2008 at 10:58 PM, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote: > Hi, > > Am 13.11.2008 um 20:40 schrieb Chris Bunch: >> >> Hmm, that didn't work for me. That gives the same output as before: > > http://groups.google.com/group/clojure/browse_thread/thread/1b47e5c7598f1375/8f69db0a0a

Re: Simple Namespace Question

2008-11-13 Thread Meikel Brandmeyer
Hi, Am 13.11.2008 um 20:40 schrieb Chris Bunch: Hmm, that didn't work for me. That gives the same output as before: http://groups.google.com/group/clojure/browse_thread/thread/1b47e5c7598f1375/8f69db0a0a7e0564?lnk=gst&q=java+prohibited+namespace#8f69db0a0a7e0564 See also this thread. Sincere

Re: Simple Namespace Question

2008-11-13 Thread Chris Bunch
Ah, I see. Thanks guys! Rich Hickey wrote: On Nov 13, 2:31 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote: (clojure.core/ns clojure) or if you are on an old build I think it would be (clojure/ns clojure) This is coming in my book notes, I promise :), but ns should

Re: Simple Namespace Question

2008-11-13 Thread Chris Bunch
Hmm, that didn't work for me. That gives the same output as before: java=> (clojure/ns clojure) java.lang.RuntimeException: java.lang.SecurityException: Prohibited package name: java (NO_SOURCE_FILE:0) The only way I can get the REPL to return a different message is in the case of syntax error

Re: Simple Namespace Question

2008-11-13 Thread Rich Hickey
On Nov 13, 2:31 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote: > (clojure.core/ns clojure) > > or if you are on an old build I think it would be > > (clojure/ns clojure) > This is coming in my book notes, I promise :), but ns should not be used to change namespaces in the repl, only in-ns shoul

Re: Simple Namespace Question

2008-11-13 Thread Stuart Halloway
(clojure.core/ns clojure) or if you are on an old build I think it would be (clojure/ns clojure) > > Hi all, >While playing with the Clojure REPL I changed my namespace to be > "java" (since I was testing out Java interop stuff) and now when I try > any commands, I see the following: > > ja

Simple Namespace Question

2008-11-13 Thread Chris Bunch
Hi all, While playing with the Clojure REPL I changed my namespace to be "java" (since I was testing out Java interop stuff) and now when I try any commands, I see the following: java.lang.RuntimeException: java.lang.SecurityException: Prohibited package name: java (NO_SOURCE_FILE:0) Sinc