Clojure standard metadata attributes

Is there a "standard" list of metadata attributes ( :author :copyright , etc.) for Clojure, or do I need to read the source code :-)?

Perhaps ClojureDocs might accept this task (recommended).

+7
source share
2 answers

There are no hard and fast rules that apply in all directions: the metadata is "context sensitive", so it can have different meanings depending on which object you attach it to.

Note that the Clojure explicilty metadata section of the site notes that metadata is for “arbitrary data annotation”.

Some comments:

  • In some parts of Clojure, metadata is intended to be used in a specific way. A good example is the meta-data on vars described in Ralph's answer.
  • If you define your own library with objects that have metadata, you can make the metadata average, whatever.
+3
source

The best I've managed to find is http://clojure.org/special_forms .

+2
source

All Articles