Re: yet another Clojure snake

2009-01-05 Thread Fanda
Nice use of 'import-static' and multimethods for 'paint' ;-) Personally, I would move (def timer (Timer. turn-millis panel)) to the end: (doto panel (.setFocusable true) (.addKeyListener panel)) (doto frame (.add panel) (.setSize (* width point-size) (* height point-size))

Re: yet another Clojure snake

2009-01-05 Thread Fanda
PS: Sometimes the apple is too close to the edge or not seen at all. Might need to adjust apple position generation. On Jan 5, 10:26 pm, Fanda fa...@intricatevisions.com wrote: Nice use of 'import-static' and multimethods for 'paint' ;-) Personally, I would move (def timer (Timer. turn

Updating website and Clojure files

2009-01-03 Thread Fanda
Hello all! I found 2 little things: 1) This Reference isn't updated according to the menu on the left: http://clojure.org/Reference 2) New files added in the last Clojure check-ins don't have Eclipse licence, but CPL (for example rev 1193). Cheers, Frantisek

Re: Testing Clojure - progress sign up

2008-12-27 Thread Fanda
I am done with first, rest, ffirst, frest, rfirst, rrest, second. They are ready for check-in as sequences: http://intricatevisions.com/source/clojure/sequences.clj [I don't have rights for clojure-contrib and if somebody is willing to check it in, please do :-) Please, also adjust