Re: primitive type hints do not work when destructuring

2011-11-02 Thread bsmith.occs
On Nov 2, 11:40 am, Sergey Didenko wrote: > Seems like a bug: > > The following compiles: > > (let [[^Double x ^Double y] [0.1 0.2]] (+ x y)) > > This does not: > > (let [[^double x ^double y] [0.1 0.2]] (+ x y)) > > "Unable to resolve classname: double" This is CLJ-852. Applying the patch posted

Re: newbie troubles with new lazy-seq hotness (OutOfMemory)

2009-02-24 Thread bsmith.occs
On Feb 24, 7:07 am, "bsmith.occs" wrote: > On Feb 23, 11:46 pm, Jeffrey Straszheim > wrote: > > > Have you figured this out yet? > > > On Mon, Feb 23, 2009 at 4:58 PM, Jeffrey Straszheim < > > > straszheimjeff...@gmail.com> wrote: > > &

Re: newbie troubles with new lazy-seq hotness (OutOfMemory)

2009-02-23 Thread bsmith.occs
On Feb 23, 11:46 pm, Jeffrey Straszheim wrote: > Have you figured this out yet? > > On Mon, Feb 23, 2009 at 4:58 PM, Jeffrey Straszheim < > > straszheimjeff...@gmail.com> wrote: > > The identifier "fibl" is holding on to the head of the sequence. Yes, this works: (defn fibl [] ((fn h [a b]

newbie troubles with new lazy-seq hotness (OutOfMemory)

2009-02-23 Thread bsmith.occs
;; - ;; using clojure.jar from source r1301 ;; ;; I'm new to clojure and working from B7.0 of Programming Clojure. ;; This version still uses lazy-cons. Nevertheless I'm trying to grok lazy-seq ;; as described here: http://cloju