Re: [racket-users] Detecting mouse events on top of picts?

2016-06-08 Thread David Christiansen
> Looking at the docs for region%, Racket doesn't have a simple way to do > this - it still could be done by force and might not be that slow > depending on the complexity of the "scene" in the image. If you're > familiar with image processing, the basic idea is recursive "blob" >

Re: [racket-users] (sixth RacketCon) Opportunity Grants

2016-06-08 Thread Sam Tobin-Hochstadt
I'm very happy to see this initiative. Thanks to Brian for making it possible! Sam On Tue, Jun 7, 2016, 2:39 PM Vincent St-Amour < stamo...@eecs.northwestern.edu> wrote: > > We are pleased to announce that (sixth RacketCon) will provide > opportunity grants. These grants target Strange Loop

Re: [racket-users] Proper handling for a custom current-read-interaction?

2016-06-08 Thread Ben Greenman
> > I believe that ocaml has a special ;; character in the language specially > for > handling situations like that. > Yep, similar to how Python looks for 2 consecutive newlines to end a block. (OCaml's ;; is sometimes useful in files, but those cases are very rare.

Re: [racket-users] Proper handling for a custom current-read-interaction?

2016-06-08 Thread Robby Findler
I don't know how change the terminal IO to send eofs, but I believe that ocaml has a special ;; character in the language specially for handling situations like that. In other words, the user has to explicitly delimit REPL interactions (but they don't have to do that in other contexts). Robby

Re: [racket-users] Proper handling for a custom current-read-interaction?

2016-06-08 Thread Alexis King
Ah, ok, that (mostly) makes sense to me. I think this might be a little bit complicated, though: in this language, definitions can span multiple lines without necessarily any direct indication that they continue. Think Haskell-style pattern matching: fib 0 = 0 fib 1 = 1 fib n = fib (n - 1)

Re: [racket-users] Problem when redefining #%app

2016-06-08 Thread brendan
On Wednesday, June 8, 2016 at 5:25:27 PM UTC-4, Alex Knauth wrote: > It's that the implicit `#%app` within the definition of the `-encoding` macro > is within the scope of the definition, not the place where it's used. Okay, I think I may get it. I knew starting out that there could be a problem

Re: [racket-users] Problem when redefining #%app

2016-06-08 Thread Alex Knauth
> On Jun 8, 2016, at 4:22 PM, brendan wrote: > > I'm writing a #lang using a custom #%app that transforms all multi-argument > applications into nested unary applications. I've run into trouble where a > macro (written in standard Racket but to be used in the #lang) is

[racket-users] Problem when redefining #%app

2016-06-08 Thread brendan
I'm writing a #lang using a custom #%app that transforms all multi-argument applications into nested unary applications. I've run into trouble where a macro (written in standard Racket but to be used in the #lang) is malfunctioning because when the expander processes the macro's output, it uses

Re: [racket-users] RacketCon hotel discount?

2016-06-08 Thread Matthew Flatt
The group code is "RKC", or you can call and mention "RacketCon 2016". At Tue, 7 Jun 2016 15:41:33 -0600, Matthew Flatt wrote: > Yes, I'll ping the hotel again... > > At Tue, 7 Jun 2016 14:21:43 -0700 (PDT), Brian Adkins wrote: > > I noticed that the 2015 RacketCon had a "RAC" group code for the

Re: [racket-users] Anyone attending RacketCon but *not* Strange Loop ?

2016-06-08 Thread Brian Adkins
On Jun 8, 2016, at 2:20 PM, John Clements wrote: > > >> On Jun 7, 2016, at 1:07 PM, Brian Adkins wrote: >> >> Just out of curiosity, is anyone attending RacketCon, but not attending >> Strange Loop? >> >> I'm probably in the minority, but

Re: [racket-users] Anyone attending RacketCon but *not* Strange Loop ?

2016-06-08 Thread 'John Clements' via Racket Users
> On Jun 7, 2016, at 1:07 PM, Brian Adkins wrote: > > Just out of curiosity, is anyone attending RacketCon, but not attending > Strange Loop? > > I'm probably in the minority, but there don't seem to be enough compelling > sessions this year for me (although I'd love