Skip to content

Instantly share code, notes, and snippets.

Created May 29, 2011 17:23
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/997966 to your computer and use it in GitHub Desktop.
Save anonymous/997966 to your computer and use it in GitHub Desktop.
;; jneira's solution to Beauty is Symmetry
;; https://4clojure.com/problem/96
(fn s [[_
[x & [l r :as b]]
[y & [i d :as c]]]]
(and (= x y)
(or (= nil b c)
(and
(s [_ l d])
(s [_ r i])))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment