Advertisement
Guest User

Untitled

a guest
Mar 9th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;; 4clojure no. 77 - simpler
  2. (fn [params]
  3.     (let [regrouped (group-by sort params)
  4.           without-group-keys (vals regrouped)
  5.           without-mono-lists (filter (fn [subset] (> (count subset) 1)) without-group-keys)
  6.           result (set (map set without-mono-lists))
  7.           ]
  8.       result
  9.       ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement