Skip to content

Instantly share code, notes, and snippets.

Created September 15, 2011 21:47
Show Gist options
  • Save anonymous/1220588 to your computer and use it in GitHub Desktop.
Save anonymous/1220588 to your computer and use it in GitHub Desktop.
;; msoutier's solution to Replicate a Sequence
;; https://4clojure.com/problem/33
(fn [c n] (mapcat #(repeat n %) c))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment