Skip to content

Instantly share code, notes, and snippets.

@sross
Created June 4, 2009 09:15
Show Gist options
  • Select an option

  • Save sross/123531 to your computer and use it in GitHub Desktop.

Select an option

Save sross/123531 to your computer and use it in GitHub Desktop.
(defn all-same-order? [colls]
(every? identity (for [a colls b colls] (same-order? a b))))
(all-same-order? [[1 2 3] [1 3 5] [1 2 4] [4 2]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment