On Thu, Dec 15, 2011 at 7:43 PM, Cedric Greevey <cgree...@gmail.com> wrote:
> In that case, I don't see the need for the interface in the > non-higher-order case. It could just create a Java method of some > class that implements the primitive-ized version of the fn, and > This is what already happens, every fn is a class - prim fns *implement* the prim interfaces. > If it's passed to a function or, via interop, Java method that expects > a primitive, it seems to be unboxed: > > (Math/sqrt 2.0) > 1.4142135623730951 > It was never boxed in the first place. -- 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