thanks David and Ben for you responses.. Sunil. On Wed, Dec 29, 2010 at 9:47 PM, David Nolen <dnolen.li...@gmail.com> wrote:
> On Wed, Dec 29, 2010 at 10:48 AM, B Smith-Mannschott < > bsmith.o...@gmail.com> wrote: > >> - (defn f [[^double x]] x) >> The compiler (1.3) does not complain about this, though I can't say >> what kind of code it generates. (I suspect it boxes x, but I don't >> know.) >> What did you mean by "You can't cast the contents of a sequence to a >> primitive type"? >> >> // Ben > > > Sorry what I meant was that you won't be taking advantage of 1.3.0's fn > support for primitive arguments. That's a function that takes an object, > destructures it and compiler hints a double. > > David > > -- > 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<clojure%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- 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