Changes for clojure.core/memfn

zkim on Sun, 26 Sep 2010
user=> (def *files* (file-seq (java.io.File. "/tmp/")))
#'user/*files*
user=> (count (filter (memfn isDirectory) *files*))
68
user=> (count (filter #(.isDirectory %) *files*))
68
Dmitry Kakurin on Sat, 17 Jul 2010
user> (def *files* (file-seq (java.io.File. "/tmp/")))
#'user/*files*
user> (count (filter (memfn isDirectory) *files*))
68
user> (count (filter #(.isDirectory %) *files*))
68
nipra on Thu, 15 Jul 2010
user> (def *files* (file-seq (java.io.File. "/tmp/")))
#'user/*files*
user> (def directory? (memfn isDirectory))
#'user/directory?
user> (count (filter directory? *files*))
68
user> (count (filter #(.isDirectory %) *files*))
68