1. Steve Losh
  2. metrics-clojure


Steve Losh  committed 2d2aac2

Make some indentation more Clojurey.

Comments (0)

Files changed (1)

File metrics-clojure-core/src/metrics/counters.clj Modified

View file
  • Ignore whitespace
  • Hide word diff
 (defmacro defcounter
   "Define a new Counter metric with a given title, or group, type and title."
-     `(def ~title (counter ~(str title))))
+   `(def ~title (counter ~(str title))))
   ([group type title]
-     `(def ~title (counter ~(vec (map str [group type title]))))))
+   `(def ~title (counter ~(vec (map str [group type title]))))))
 ; Read ------------------------------------------------------------------------