Re: [racket-users] big-bang + right click?

2018-02-15 Thread Matthias Felleisen
No. I checked the code and providing the extra information easily would be backwards incompatible. I may introduce another mouse handler that also delivers the mouse event as an fourth argument. If you need this today, you will need to use Racket’s GUI toolbox directly. > On Feb 15, 2018

[racket-users] big-bang + right click?

2018-02-15 Thread Stephen Foster
Is there a way to differentiate between left and right click with a big-bang on-mouse handler? Or if not, is there some workaround I can use to detect right clicks? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this grou

Re: [racket-users] Does Racket offer anything for implementing a language with its own GC that could manage GPU memory?

2018-02-15 Thread Gustavo Massaccesi
> Also I forgot to note that I also want my language to have indentation > sensitive syntax. Would that be doable in Racket? It's possible (but I never tried it). In the official distribution there are a few languages implemented in Racket that doesn't look like Racket at all. For example https://

[racket-users] racket/draw unable to load some font-weights on macOS?

2018-02-15 Thread Joel Dueck
Greetings, long time lurker/first time posting here. I have been working on this one for a couple of days and can't seem to figure it out. I'm having an issue where on macOS, there are some fonts/variants returned by get-face-list that I can't actually use with a drawing function like text . #l

Re: [racket-users] Re: Concise way to get completions for Racket code?

2018-02-15 Thread Greg Hendershott
I guess I'm not clear who does what, e.g. do you start a REPL for the user? If so, the `current-namespace` that's in effect when you call `read-eval-print-loop` should probably come from doing `(dynamic-require mp #f)` then the result of `(module->namespace mp)` (where `mp` is a module path). Tha

[racket-users] Re: Symbolic links and filesystem-change-evt

2018-02-15 Thread George Neuner
On Wed, 14 Feb 2018 16:35:04 -0600, Philip McGrath wrote: >It appears that a `filesystem-change-evt` created with a path referring to >a symbolic link effectively watches the target of the link for changes, not >the link itself. For example, deleting the link and creating a new link >that points

Re: [racket-users] More DrRacket binding arrow woes

2018-02-15 Thread Matthias Felleisen
Here is a snippet of code in the language: #lang network-flow ;; sample graph problem: maximize from a to d node a -- 10 --> b node a -- 20 --> c node b -- 30 --> d node c -- 30 --> d Here is a link to the language http://www.ccs.neu.edu/home/matthias/4620-s18/network-syn-lang.rkt

Re: [racket-users] Re: Concise way to get completions for Racket code?

2018-02-15 Thread HiPhish
How would I get the module into Racket? My guess is that if the user is working on a module that file would have to be required first to instantiate the module before its file path can be sent over to `module->namespace`. At least that's how I did it on the REPL. What if the file changes? Do I h