On Sat, Oct 23, 2010 at 5:44 PM, Chris Dow <[email protected]> wrote:

> Is there any way to attach Clojure defined 'metadata' to to types?  I
> am trying to write a ORM for records and would like some way to attach
> 'metadata' to types for the sake of mapping configuration.  Clojure's
> built-in metadata apppears to be intended only for instances of
> types.  I could use Java's annotations but as far as I can tell there
> is no way to define new annotations in Clojure.  Are these my only
> options?
>
> If these are my only options, does anybody know if Clojure's future
> development will include better annotations support?  Are Java
> annotations intended to be purely for the sake of compatibility with
> Java or is there a desire to better integrate them them into Clojure?
>

I'm assuming you have factory fns. You can put metadata on those.

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]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to