Created
September 4, 2014 13:51
-
-
Save number23/ded19ef1b1dadcc08943 to your computer and use it in GitHub Desktop.
clojure reify example
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
(.listFiles | |
(java.io.File. ".") | |
(reify | |
java.io.FileFilter | |
(accept [this f] | |
(.isDirectory f)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment