On Dec 12, 4:01 pm, mayes <mmull...@mullinsenterprises.ca> wrote:
> First, thanks for the great work with Clojure.
>
> Second, I found some code I was working on didn't work with
> rev.1054. Paring things down I got the following which
> reproduces the behaviour:
>
> (defstruct A :a)
> (defn t []
> (let [
> A (struct A 0.0)
> ]
> (loop [i 0 l '()]
> (if (< i 5)
> (recur (inc i) (cons i l))
> l))))
>
> This produces a list of float's not integer's as I'd expect.
> Taking out the "A" line in the let, or even just using an integer
> instead of the "0.0" there works ok.
>
> This seems to happen on rev.1054 and up.
Fixed (svn 1157) - thanks for the report.
Rich
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---