[racket-users] Re: 2htdp/universe: behavior of dual shift keys

2017-12-17 Thread Alex Harsanyi
I tested this on a Windows platform and have the same result. It seems there is a problem in Racket with handling the right shift key: pressing down the right shift key results in "keydown" being invoked with a "rshift" argument, but releasing the right shift key results in "keyup" being called

[racket-users] 2htdp/universe: behavior of dual shift keys

2017-12-17 Thread Jordan Johnson
Hi all, The attached program exhibits some odd behavior in 2htdp/universe, and I want to track down where it’s coming from. AFAICT it’s not an error in the program itself, but if I’m mistaken I’d be pleased to have confirmation that the cause isn’t in the OS or the 2htdp/universe library.

Re: [racket-users] Retrieving some data from a module without evaluating it

2017-12-17 Thread Stephen De Gabrielle
Is this what you are after? https://github.com/racket/racket/blob/master/racket/collects/racket/private/submodule.rkt /Applications/Racket v6.11/collects/racket/private/submodule.rkt Stephen On Sun, Dec 17, 2017 at 10:36 AM, Laurent wrote: > Also, I can't find

[racket-users] using vim to play with racket

2017-12-17 Thread gokcehankara
Hello, I have posted this to /r/Racket a few days ago and someone suggested I should also post here. I have been playing with racket lately. I think DrRacket is a fantastic editor but unfortunately as a long time vim user I feel quite uncomfortable when I use something else. I had some

Re: [racket-users] Retrieving some data from a module without evaluating it

2017-12-17 Thread Laurent
Also, I can't find where module+ is defined. Anyone has a pointer? On Sun, Dec 17, 2017 at 9:34 AM, Laurent wrote: > Excellent, thanks a lot! > > On Sat, Dec 16, 2017 at 8:44 PM, Matthew Flatt wrote: > >> [...] >> > (set! submodule-content >>

Re: [racket-users] Retrieving some data from a module without evaluating it

2017-12-17 Thread Laurent
Excellent, thanks a lot! On Sat, Dec 16, 2017 at 8:44 PM, Matthew Flatt wrote: > [...] > (set! submodule-content >(cons (syntax-local-introduce > #`(begin > (provide proc) > (define proc (list