Skip to content

Instantly share code, notes, and snippets.

@arohner arohner/gist:296026
Created Feb 5, 2010

Embed
What would you like to do?
(let [pairs (for [i myseq
j myseq]]
(loop [pairs pairs]
(let [[a b] (first pairs)
(if (pred a b)
(recur (remove #(= %2 b) pairs))
(recur (rest pairs))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.