Re: [racket-users] Can someone help me solve a raco mystery?

2019-03-25 Thread Stephen Foster
Thanks Gustavo, That was a cool idea. I enjoyed the opportunity to hack on some of the pkg files. Unfortunately, I wasn't able to reproduce the error today -- even on my quarantined machine. I'm not sure if that's because the error pattern somewhat random or because I've been updating the repos

[racket-users] CAM-2019 conference (St. Petersburg, July 22-24)

2019-03-25 Thread Dmitry Pavlov
### About CAM Computer Assisted Mathematics conference is a forum for scientists and teachers working in the area of algorithmic mathematics and interested in promoting of important discrete mathematics and theoretical informatics ideas into education in technical universities and schools, includ

Re: [racket-users] Error handling for the GUI

2019-03-25 Thread James Platt
On Mar 25, 2019, at 12:49 PM, Matthias Felleisen wrote: > See how precise the exn message is: 2nd arg of 1st arg of f ~~ not a boolean? Okay. So the exn message is generated in a systematic way which I can count on. I didn't realize that. Thanks. -- You received this message because you

Re: [racket-users] Error handling for the GUI

2019-03-25 Thread Matthias Felleisen
> On Mar 25, 2019, at 12:30 PM, James Platt wrote: > > > On Mar 25, 2019, at 12:05 PM, Matthias Felleisen wrote: > >> Your exception handlers may test a contract failure to any level. You can >> specify this in the predicate part of with-handlers or via match on the exn >> within the handl

Re: [racket-users] Error handling for the GUI

2019-03-25 Thread James Platt
On Mar 25, 2019, at 12:05 PM, Matthias Felleisen wrote: > Your exception handlers may test a contract failure to any level. You can > specify this in the predicate part of with-handlers or via match on the exn > within the handler function. Regexp matching works well here. It's obvious enoug

Re: [racket-users] Error handling for the GUI

2019-03-25 Thread Matthias Felleisen
> On Mar 25, 2019, at 11:59 AM, James Platt wrote: > > > On Mar 23, 2019, at 5:49 PM, Greg Hendershott wrote: > >> But -- contract violations aren't like that. They're about some code >> surprising some other code. I think the only hope here is, run the >> code enough (before the user ever d

Re: [racket-users] Error handling for the GUI

2019-03-25 Thread James Platt
On Mar 23, 2019, at 5:49 PM, Greg Hendershott wrote: > But -- contract violations aren't like that. They're about some code > surprising some other code. I think the only hope here is, run the > code enough (before the user ever does) to flush out the bad code > assumptions and fix them. Realist

Re: [racket-users] Re: SQL DB tooling

2019-03-25 Thread Aidan Gauland
That looks like exactly what I want.  Thanks! On 23/03/19 8:04 PM, Alex Harsanyi wrote: > > The package is called "north" and you can find it here: > > https://pkgs.racket-lang.org/package/north > > There is also the announcement on Reddit: > > https://www.reddit.com/r/Racket/comments/akob56/ann_n

Re: [racket-users] Generics: delegate to a parent

2019-03-25 Thread hashim muqtadir
> I am trying to make good use of Generic Interfaces, but can't figure out if its at all possible to delegate calls up the struct inheritance chain. So, something like `call-next` If I understand you correctly, "define/generic" let you do this. See https://docs.racket-lang.org/reference/struct-