Hi,

2010/6/18 Wilson MacGyver <wmacgy...@gmail.com>:
> ^ was deprecated in 1.1 as per release note below
> The ^ reader macro has been deprecated as a shortcut for meta in the
> hopes that it can eventually replace the #^ reader macro.

No, it's not that gray: in 1.2 (so in clojure master, and all new
branches like prim, equal, etc.), ^ now has the same semantics as #^.
#^ is still working as usual, but becomes deprecated. The behaviour of
the old ^, as mentioned by Howard, requires the explicit (meta ) call.

Howard, another point to have in mind in 1.2: some libraries from
clojure contrib have partially migrated to clojure. For example I/O
stuff has appeared in clojure.java.io. String manipulation stuff also.
As a result, you may encounter warnings in your own code, or in
libraries you use which may not yet have migrated to 1.2 (which is to
be expected, since 1.2 is not out), or not be prepared for 1.2 (by
avoiding 'use-ing foreign namespaces, but rather using aliases). The
warnings will tell you when a var is re-def-ined (this is a new
feature, which may or may no stay in core : before this warning
feature, you just wouldn't have been able to compile the code,
redefinitions of vars bound to external namespaces vars was an error.
The new "warning only" behaviour tries to enhance the user experience:
allow the code to run, until everybody has removed the warnings in new
versions of their code).

HTH,

-- 
Laurent

-- 
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

Reply via email to