Last active
August 28, 2015 20:49
-
-
Save dagda1/2fb86f7a3a10073b205b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; xs = '{a {p 1, q 2} b {m 3, n 4}} | |
(for [[x y] xs] | |
(for [[a b] y] | |
[[a x] b])) | |
; this produces | |
; (({[a p] 1} {[a q] 2}) ({[b m] 3} {[b n] 4})) | |
; | |
; I require | |
; '{[a p] 1, [a q] 2 [b m] 3, [b n] 4} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment