Skip to content

Instantly share code, notes, and snippets.

Created October 16, 2011 15:57
Show Gist options
  • Save anonymous/1291067 to your computer and use it in GitHub Desktop.
Save anonymous/1291067 to your computer and use it in GitHub Desktop.
;; toff63's solution to Duplicate a Sequence
;; https://4clojure.com/problem/32
(fn [c] (mapcat #(vector % %) c))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment