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

[racket-users] Re: Defining contracts sanely

2015-06-27 Thread Aidan Gauland
On 23/06/15 00:00, Robby Findler wrote: On Mon, Jun 22, 2015 at 2:43 AM, Aidan Gauland: If this does what you want, it’s fine, but the define/contract is probably unnecessary, and (define fish-freshness/c (flat-named-contract ‘fish-freshness/c (lambda (x) (not (eq? ….)

Re: [racket-users] Re: Defining contracts sanely

2015-06-27 Thread Robby Findler
On Sat, Jun 27, 2015 at 6:20 PM, Aidan Gauland aidal...@slingshot.co.nz wrote: On 23/06/15 00:00, Robby Findler wrote: On Mon, Jun 22, 2015 at 2:43 AM, Aidan Gauland: If this does what you want, it’s fine, but the define/contract is probably unnecessary, and (define fish-freshness/c