Created
November 27, 2013 22:16
-
-
Save jaydonnell/7684132 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn mergeListPairs [xs] | |
(loop [xss xs] | |
(cond | |
(= (count xss) 1) (first xss) | |
:else (let [[xs1 xs2 & xssRest] xss] | |
(recur (conj xssRest (myMerge xs1 xs2))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment