Skip to content

Instantly share code, notes, and snippets.

@danlamanna danlamanna/core.clj
Created Apr 21, 2014

What would you like to do?
;; works
(filter (fn [x] (.isFile x)) (.listFiles ( "/home/dan")))
;; doesn't work
(filter .isFile (.listFiles ( "/home/dan")))
;;CompilerException java.lang.RuntimeException: Unable to resolve symbol: .isFile in this context, compiling:(/tmp/form-;;init1847152152463111113.clj:1:1)
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.