Created
June 20, 2019 17:14
-
-
Save IwoHerka/39c42a4bd5d001216a3e5ac012d2ef44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn filter* | |
[p coll] | |
(reduce* (fn [acc x] (if (p x) (conj acc x) acc)) [] coll)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment