Re: [racket-users] Moving an image with the keyboard

2015-06-27 Thread Matthias Felleisen
Patrick, I get the sense that this is your first experience with programming and programming languages. If so, Realm is not the best way to get started. As it says in the Preface, it's for people with a first course on programming under their belt (either How to Design Programs /HtDPor some

Re: [racket-users] Moving an image with the keyboard

2015-06-27 Thread Patrick Ester
Jordan, Thanks for the suggestion. Quick question, why aren't type signatures required? I've dabbled with a language called Elm (elm-lang.org) in which type signatures are mandatory, the code won't compile without them. Not that you control this, but Realm of Racket doesn't say anything about

Re: [racket-users] Moving an image with the keyboard

2015-06-26 Thread Jordan Johnson
Hi Patrick, The problem you’re up against is that in the code you’ve attached, we don’t have a clear picture of what the signatures for your functions are, nor of the “world” upon which big-bang operates. Standard practice in HtDP-based courses dictates that every big-bang program should have

[racket-users] Moving an image with the keyboard

2015-06-26 Thread Patrick Ester
Dear All, I am not sure if this is the right place since I am working from the Realm of Racket book. If not, please let me know where I can take my question. I finished up chapter five, and wanted to modify the UFO example to move in relation to the arrow keys. Here is the code that I wrote: