thanks David and Ben for you responses.. Sunil. On Wed, Dec 29, 2010 at 9:47 PM, David Nolen <[email protected]> wrote:
> On Wed, Dec 29, 2010 at 10:48 AM, B Smith-Mannschott < > [email protected]> 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 [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected]<clojure%[email protected]> > 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 [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
