Re: clojure.contrib.repl-ln vs. new lazy

2009-02-17 Thread Rich Hickey
On Feb 17, 8:52 pm, Chouser wrote: > On Tue, Feb 17, 2009 at 5:33 PM, Stephen C. Gilardi wrote: > > > > > Turning on nil punning debugging with: > > >cd clojure > >ant -Dclojure.assert-if-lazy-seq=true > > > and testing with: > > >user=> (compile 'clojure.contrib.repl-l

Re: clojure.contrib.repl-ln vs. new lazy

2009-02-17 Thread Chouser
On Tue, Feb 17, 2009 at 5:33 PM, Stephen C. Gilardi wrote: > > Turning on nil punning debugging with: > >cd clojure >ant -Dclojure.assert-if-lazy-seq=true > > and testing with: > >user=> (compile 'clojure.contrib.repl-ln) > > suggests that genclass.clj could use some lazy l

Re: clojure.contrib.repl-ln vs. new lazy

2009-02-17 Thread Stephen C. Gilardi
On Feb 17, 2009, at 5:12 PM, Stephen C. Gilardi wrote: This line looks important: at clojure.core$generate_class__5435.invoke(genclass.clj:219) Turning on nil punning debugging with: cd clojure ant -Dclojure.assert-if-lazy-seq=true and testing with:

clojure.contrib.repl-ln vs. new lazy

2009-02-17 Thread Stephen C. Gilardi
Using clojure 1287, compiling clojure.contrib.repl-ln gives an error: user=> (compile 'clojure.contrib.repl-ln) java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String; (repl_ln.clj:15) user=> (st) [...] Caused by: java.lang.ClassCastExc