On Jan 19, 1:15 pm, David Nolen <dnolen.li...@gmail.com> wrote:
> I've noticed this as well.  It seems to me that this prevents you from
> dynamically defining a var (like in a macro) that has metadata attached to
> it or it's arguments (if it's a function).  

You can also use the new alter-meta! function, which works on
anything:

-------------------------
clojure.core/alter-meta!
([iref f & args])
  Atomically sets the metadata for a namespace/var/ref/agent/atom to
be:

  (apply f its-current-meta args)

  f must be free of side-effects


-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
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
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