Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (for [f [:id-2 :id-1]
  2.       v (:values (f {:id-1 {:values [1 2 3]}
  3.                      :id-2 {:values [4 5]}}))]
  4.   [f v])
  5. ; => ([:id-2 4] [:id-2 5] [:id-1 1] [:id-1 2] [:id-1 3])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement