Skip to content

Commit

Permalink
Deprecate keywordize-map (fixes #64)
Browse files Browse the repository at this point in the history
  • Loading branch information
w01fe committed Mar 29, 2016
1 parent b04e71a commit 271f6d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,4 +1,5 @@
## 0.5.3
* **Deprecate** `keywordize-map` in favor of `clojure.walk/keywordize-keys`
* Fix dependent optional bindings (e.g. (fnk [a {b a}])) broken in 0.5.1
* Fnks remember their name, and named fnks can be used without a key in `graph/graph` forms (with an implicit key generated from `(keyword (name f))`).

Expand Down
6 changes: 4 additions & 2 deletions src/plumbing/core.cljx
Expand Up @@ -104,8 +104,10 @@
(when-not (empty? res)
res)))))

(defn keywordize-map
"Recursively convert maps in m (including itself)
(defn ^:deprecated keywordize-map
"DEPRECATED. prefer clojure.walk/keywordize-keys.
Recursively convert maps in m (including itself)
to have keyword keys instead of string"
[x]
(cond
Expand Down

0 comments on commit 271f6d4

Please sign in to comment.