Skip to content

Commit

Permalink
added *clojure-version*
Browse files Browse the repository at this point in the history
  • Loading branch information
richhickey committed Apr 21, 2009
1 parent 5713266 commit e8fce74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/clj/clojure/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

(def unquote)
(def unquote-splicing)
(def *clojure-version* {:major 1 :minor 0 :incremental 0 :qualifier "RC1"})

(def
#^{:arglists '([& items])
Expand Down Expand Up @@ -3953,6 +3954,11 @@
(defmacro add-doc {:private true} [name docstring]
`(alter-meta! (var ~name) assoc :doc ~docstring))

(add-doc *clojure-version*
"The version info for Clojure core, as a map containing :major :minor :incremental and :qualifier keys.
Feature releases may increment :minor and/or :major, bugfix releases will increment :incremental.
Possible values of :qualifier include \"GA\", \"SNAPSHOT\", \"RC-x\" \"BETA-x\"")

(add-doc *file*
"The path of the file being evaluated, as a String.
Expand Down

0 comments on commit e8fce74

Please sign in to comment.