Hi

On 3 August 2011 21:29, octopusgrabbus <octopusgrab...@gmail.com> wrote:
> Is there a preferred method for adding a Change History block to a
> Clojure module? I'm doing this for now:
>
> (ns addr-verify
>  ^{:author "Charles M. Norton",
>    :doc "addr-verify is a small Clojure program that runs address
> verification through ...
>
>          Created on August 3, 2011
>          Change History: "}
>  (:gen-class)

Others have commented on the change history, but for the "created on"
or something similar, you can do the following, as is done in the
Clojure source code:

(defn with-redefs-fn
  "some doc string"
  {:added "1.3"}
  [binding-map func]
[...]

Here ":added" refers to the version of Clojure it was added in rather
than a specific date, but for a function, that often makes more sense,
I think.  You should be able to do something similar for the
namespace.

-- 
Michael Wood <esiot...@gmail.com>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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