I tried

 (filter #(re-find #"\.clj$" %) (seq (file-seq(java.io.File. "."))))
-> java.lang.ClassCastException: java.io.File cannot be cast to
java.lang.CharSequence (NO_SOURCE_FILE:0)


On Jan 8, 9:06 pm, Achim Passen <[email protected]> wrote:
> On 9 Jan., 03:03, Achim Passen <[email protected]> wrote:
>
> > (filter #(re-find #".clj$" %) … )
>
> correction:
> (filter #(re-find #"\.clj$" %) … )
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to