Hi Steve, It works now.
thanks Sun On Dec 23, 9:42 pm, "Stephen C. Gilardi" <squee...@mac.com> wrote: > On Dec 23, 2008, at 9:28 PM, wubbie wrote: > > > Hi, > > I ran it with the changes and got the message: > > java.lang.IllegalArgumentException: Don't know how to create ISeq > > from: Symbol (NO_SOURCE_FILE:22) > > > What can be the problem? > > I recommend you try this: > > - copy and paste the code from the website into a file called > snake.clj stored at the top level of a directory that's in classpath. > - replace the "import" form at the top of the page with this (be > careful with quoting in this edit): > > (ns snake > (:import (java.awt.event KeyEvent ActionListener KeyListener) > (javax.swing JPanel JFrame Timer))) > > - fix the doseq and doto forms > > Then, at the repl run it with: > > user=> (require 'snake) > nil > user=> (snake/run-snake) > > Click on the window that comes up and use the arrow keys at the > keyboard to control the snake. > > If you still have trouble, please post info about it here. At that > point we should have more to work with. > > --Steve > > smime.p7s > 3KViewDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---