Not quite. Syntax Before: meta: ^ type-hint: #^
Syntax After: meta: none, use meta type-hint: ^ It's already in place on 1.2: user=> (set! *warn-on-reflection* true) true user=> (defn foo [x] (.longValue x)) Reflection warning, NO_SOURCE_PATH:6 - reference to field longValue can't be resolved. #'user/foo user=> (defn foo [^Integer x] (.longValue x)) #'user/foo On May 17, 8:58 am, Meikel Brandmeyer <[email protected]> wrote: > Hi, > > On Mon, May 17, 2010 at 08:21:39AM -0700, Stefan Kamphausen wrote: > > is it correct to assume that the usual read-syntax for 1.2 will be ^ > > instead of #^? Will all printers emit that? Will #^ become > > deprecated? > > No. They are not equivalent and ^ is deprecated. #^ will remain doing > what it did up to now. ^ will go away w/o replacement. > > Sincerely > Meikel > > -- > 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 > athttp://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
