Re:A Clojure library that implements the Logo programming la...
by elangoc on Sunday June 14, 2015 @08:25PM
(#9716835)
As far as the Quil window with graphics, I'm not sure if it's because an Applet is being used, but on Mac OS X, the window pops up for me behind my other windows and without focus. I have to hide all of the other windows on top of it to find it. It's weird, I know.
What is the command you're running that gives you the error "quil.Applet cannot be cast to clojure.lang.IFn" ?
Re:A Clojure library that implements the Logo programming la...
by jrusev on Monday June 15, 2015 @04:08PM
(#9721721)
You are correct, it works! I am on a Mac and I needed to press F3 (show all windows) to see the graphics window. It does not show up if you just do cmd-Tab.
As for the second error - I was incorrectly trying to run the core.clj, so no problem there.
Thanks for the help! I had fun drawing circles :))
I ran into a problem though. I can run the commands in the REPL and I can see the new turtle position in the terminal, but there is no quil window with graphics. I can also run the example function, but I get "quil.Applet cannot be cast to clojure.lang.IFn".