mirror of
https://github.com/penpot/penpot.git
synced 2025-02-26 00:36:12 -05:00
Add mirror-map macro (commented inder uxbox.util.data ns).
This commit is contained in:
parent
075c508d63
commit
71c6adab58
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue