Fix: profiling id namespacing

This commit is contained in:
Peter Taoussanis 2014-03-11 14:41:02 +07:00
parent 2b8a9d6c80
commit c58290f864
2 changed files with 7 additions and 4 deletions

View File

@ -1,8 +1,11 @@
## v3.1.3 / 2014 Mar 11
* FIX: profiling id namespacing.
## v3.1.1 / 2014 Feb 26
### Fixes
* Fix project.clj to prevent unnecessary downstream deps.
* FIX: project.clj to prevent unnecessary downstream deps.
## v3.1.0 / 2014 Feb 23

View File

@ -7,7 +7,7 @@
(defmacro fq-keyword "Returns namespaced keyword for given id."
[id]
`(if (and (keyword? ~id) (namespace ~id)) ~id
(keyword (str ~*ns*) (name ~id))))
(keyword (str *ns*) (name ~id))))
(comment (map #(fq-keyword %) ["foo" :foo :foo/bar]))