Skip to content

Instantly share code, notes, and snippets.

@simonjefford
Created September 5, 2012 16:45
Show Gist options
  • Save simonjefford/3639695 to your computer and use it in GitHub Desktop.
Save simonjefford/3639695 to your computer and use it in GitHub Desktop.
(fn [coll n] (mapcat #(repeat n %) coll))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment