On Mon, 08 Nov 2010 14:14:16 -0500, lprefontaine wrote:
Sticking to long and double gets away from Java semantic but it is done
to improve numeric performances. You can actually hint in 1,3 on the
return type of a function to avoid automatic boxing and have your code
work entirely with a
Hi all,
I was testing some code under Clojure 1.3 alpha 3 that works correctly
in Clojure 1.2 and got the following error:
CompilerException java.lang.IllegalArgumentException: Only long and
double primitives are supported
For some reason I don't get a full stack trace saying where the error
Also - I'm a bit worried as the message suggests that Clojure won't
support int and float primitives for some purposes - which are pretty
essential for Java interop - surely that can't be true? Or is this
just a temporary thing during the Alpha development?
longs and doubles will be the
Sticking to long and double gets away from Java semantic but it is done
to improve numeric performances. You can actually hint in 1,3 on the return
type of a function to avoid automatic boxing and have your code work
entirely with a native type. Boxing if I recall correctly will
convert