Skip to content

Instantly share code, notes, and snippets.

@AeroNotix AeroNotix/clj.clj Secret
Created Feb 17, 2015

What would you like to do?
(let [needle '[a b]
haystack '[[a b] a]
found? (atom false)]
(clojure.walk/walk #(when (= %1 needle) (reset! found? true))
identity haystack)
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.