On Sun, Sep 4, 2011 at 12:59 AM, Alan Malloy <[email protected]> wrote:
> Well, ^something still is equivalent to ^{:tag something}, which as I
> understand it is useful for compiler typehinting.
It's probably also worth noting that metadata combines in 1.3.0:
(defn ^:foo ^:bar fubar [] )
In 1.2.1, this gives:
user=> (meta #'user/fubar)
{:ns #<Namespace user>, :name fubar, :file "NO_SOURCE_PATH", :line 7,
:arglists ([]), :tag :foo}
In 1.3.0, this gives:
user=> (meta #'user/fubar)
{:arglists ([]), :foo true, :bar true, :ns #<Namespace user>, :name
fubar, :line 1, :file "NO_SOURCE_PATH"}
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
--
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