> (side note: what is different between Long/MAX_VALUE and the > function call (Long/MAX_VALUE)?
None. Both are syntax sugar for (. Long MAX_VALUE) > It seems like unchecked-multiply doesn't like vars, but thats surprising. > What am I doing wrong here? unchecked-multiply only does unchecked arithmetic when the arguments are primitive. Vars cannot have primitive values, they must be boxed as java.lang.Long. So it reverts to normal Clojure arithmetic. The unchecked-* functions are intended as a performance optimization when doing operations with primitives. -S -- 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 Note that posts from new members are moderated - please be patient with your first post. 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