Completed
Details
Details
Assignee
Unassigned
UnassignedReporter
Alex Miller
Alex MillerApproval
Ok
Patch
Code and Test
Priority

Affects versions
Fix versions
Created January 6, 2014 at 5:15 PM
Updated February 23, 2014 at 11:01 PM
Resolved February 23, 2014 at 11:01 PM
Current :keys destructuring expects symbols and creates local bindings based on those symbols. This works fine with maps that use non-namespaced keyword keys. This enhancement is to add support for destructuring maps with namespaced keyword keys.
Approach: Allow keywords (with or without namespaces) in :keys destructuring. Destructure to bindings with the name of the keyword (namespace is ignored).
Patch: clj-1318-6.diff
Screened by: Stuart Sierra. See comments, below.
Doc TODO: Will need to update http://clojure.org/special_forms#binding-forms with new binding form.