Created
March 11, 2014 06:32
-
-
Save sherpc/9480616 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 if-column | |
[data column f] | |
(if-not column | |
data | |
(f column data))) | |
(defn where* [data condition-func] | |
(if-column data condition-func filter)) | |
(defn limit* [data lim] | |
(if-column data lim take)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment