#clojure logs

2008-02-06

01:02rhickeyI've added a function (bean x), which creates a live read-only map of an object's javabeans properties
01:02rhickey(bean (new javax.swing.JButton)) -> {:UIClassID "ButtonUI", :defaultButton false, :focusCycleRoot false, :label ""...
20:18scramflotI get these a lot: java.lang.ClassCastException: java.io.File cannot be cast to clojure.lang.IFn
20:23scramflotI'm trying to make a directory walker: http://pastebin.com/m1776a478
21:16scramflotHere's my latest attempt: http://pastebin.com/m3174809e still ClassCastException
21:38rhickey_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:39rhickey_trying to get the files back as a sequence is trickier than doing something to each file you find - start with that