Woops. And indeed I'm wrong. It was {:type ::my-type}, not {:tag ::my-type}.
Nevermind.
So ^ now distinguishes between keywords and classes, which it didn't before.
Sorry for the noise.
Am Sonntag, 4. September 2011 09:54:20 UTC+2 schrieb Meikel Brandmeyer
(kotarak):
>
> #^something was equivalent to #^{:tag something}. Back when we did types
> not with defrecord but with (with-meta {:foo :bar} {:tag ::my-type}) it
> actually was useful. With the advent of defrecord this need for this
> diminished. So, it at least was useful.
>
>
--
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