Stuart,

I have a ~/.cljrc file that has this stuff in there and in my bash (clj)
script to start clojure I do:

$JAVA -cp $CLOJURE_JARS clojure.lang.Repl ~/.cljrc

On Tue, Dec 9, 2008 at 1:12 PM, Stuart Halloway
<[EMAIL PROTECTED]>wrote:

>
> Why can't I call set! in user.clj? (And what is the idiomatic way to
> do what I want here?)
>
> (set! *print-length* 103)
> -> Exception in thread "main" java.lang.ExceptionInInitializerError
>        at clojure.lang.Repl.<clinit>(Repl.java:23)
> Caused by: java.lang.RuntimeException: java.lang.IllegalStateException:
> Can't change/establish root binding of: *print-length* with set
>
> Thanks,
> Stuart
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to