Skip to content

Instantly share code, notes, and snippets.

Created February 2, 2012 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/1726066 to your computer and use it in GitHub Desktop.
Save anonymous/1726066 to your computer and use it in GitHub Desktop.
;; claj's solution to Anagram Finder
;; https://4clojure.com/problem/77
(fn [a]
(set
(map set
(filter #(< 1 (count %))
(vals
(group-by
(fn [b] (reduce conj #{} b))
a))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment