t; [in-dir pred & others]
> (reduce (fn [xs f] (filter f xs)) (file-seq in-dir) (cons pred others)))
>
> Dan
>
> On Thu, Jan 21, 2010 at 2:47 PM, nwalex wrote:
> > I'm very new to Clojure, and to functional programming in general. Can
> > anyone tell me the id
I'm very new to Clojure, and to functional programming in general. Can
anyone tell me the idiomatic way to implement this function?
(defn find-files
"Find files in directory that match predicates pred & others"
[in-dir pred & others]
(filter pred (file-seq in-dir)))
What is the best way to
fine.
>
> > I have, however, switched back to Emacs because Netbeans is too slow
> > on my computer.
>
> > On Jan 10, 6:45 pm, nwalex wrote:
> > > Since I couldn't get Enclojure working I decided to man up and dive
> > > into the world of Emacs. A
.html
for more info.
On Jan 9, 8:13 pm, nwalex wrote:
> I've tried to add a new platform, but the repl fails to start. Then I
> tried to build the latest version of Enclojure using clojure 1.1, but
> couldn't get that working either. Has anyone else been able to get it
> workin
I've tried to add a new platform, but the repl fails to start. Then I
tried to build the latest version of Enclojure using clojure 1.1, but
couldn't get that working either. Has anyone else been able to get it
working with clojure 1.1?
--
You received this message because you are subscribed to the