2008-02-06
| 01:02 | rhickey | I've added a function (bean x), which creates a live read-only map of an object's javabeans properties |
| 01:02 | rhickey | (bean (new javax.swing.JButton)) -> {:UIClassID "ButtonUI", :defaultButton false, :focusCycleRoot false, :label ""... |
| 20:18 | scramflot | I get these a lot: java.lang.ClassCastException: java.io.File cannot be cast to clojure.lang.IFn |
| 20:23 | scramflot | I'm trying to make a directory walker: http://pastebin.com/m1776a478 |
| 21:16 | scramflot | Here's my latest attempt: http://pastebin.com/m3174809e still ClassCastException |
| 21:38 | rhickey_ | you need to clarify your logic - what do you do when there are no files, what if it is a directory, what if not, how do you process the rest of the files... |
| 21:39 | rhickey_ | trying to get the files back as a sequence is trickier than doing something to each file you find - start with that |