mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
Add mirror-map macro (commented inder uxbox.util.data ns).
This commit is contained in:
parent
075c508d63
commit
71c6adab58
@ -143,3 +143,9 @@
|
||||
acc))
|
||||
[]
|
||||
(partition 2 params))))
|
||||
|
||||
|
||||
;; (defmacro mirror-map [& fields]
|
||||
;; (let [keys# (map #(keyword (name %)) fields)
|
||||
;; vals# fields]
|
||||
;; (apply hash-map (interleave keys# vals#))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user