store/[org.clojure/clojure "1.8.0"] clj::clojure.core/clojure-version

Official Documentation

Add notes
Arities
==================================================
   []

Docstring
==================================================
  Returns clojure version as a printable string.

Source

(defn
  clojure-version 
  "Returns clojure version as a printable string."
  {:added "1.0"}
  []
  (str (:major *clojure-version*)
       "."
       (:minor *clojure-version*)
       (when-let [i (:incremental *clojure-version*)]
         (str "." i))
       (when-let [q (:qualifier *clojure-version*)]
         (when (pos? (count q)) (str "-" q)))
       (when (:interim *clojure-version*)
         "-SNAPSHOT")))

Example 1

Edit
(clojure-version)
;; => "1.7.0-beta1"

Uses on crossclj