Skip to content

Instantly share code, notes, and snippets.

@jaycfields
Created May 12, 2013 16:17
Show Gist options
  • Save jaycfields/5564066 to your computer and use it in GitHub Desktop.
Save jaycfields/5564066 to your computer and use it in GitHub Desktop.
(doseq [[printer {:keys [id sub-ids]}] {(partial println "sub1") {:id :A :sub-ids [11 12 13 14]}
(partial println "sub2") {:id :B :sub-ids [21 22 23 24]}}
sub-id sub-ids]
(let [id-str (name id)]
(printer id-str sub-id)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment