[racket-users] project idea: drracket notebook mode

2018-12-20 Thread Neil Van Dyke
If anyone is looking to avoid relatives over the winter holiday season, here's an idea for a big feature to add to DrRacket (which I really wish I could do myself right now)... If you've not seen a "notebook" interface, like in Jupyter Notebook and some other data science-oriented tools, one w

Re: [racket-users] typed racket backend/ir & gpu computing

2018-12-20 Thread Matthias Felleisen
> On Dec 19, 2018, at 11:07 PM, wanderley.guimar...@gmail.com wrote: > > Can you give an example of a simple eDSL language? Not that I am not lazy but > I don’t have an idea of what to search. People consider stand-alone DSLs from embedded DSLs, and they also distinguish how programs writt

Re: [racket-users] Reasons not to use match or define/match?

2018-12-20 Thread Greg Hendershott
There is also the `struct*` pattern: https://docs.racket-lang.org/reference/match.html#(form._((lib._racket%2Fmatch..rkt)._struct*)) On Thu, Dec 20, 2018 at 12:48 AM Philip McGrath wrote: > > On Mon, Dec 17, 2018 at 4:08 PM Jens Axel Søgaard > wrote: >> >> However if you add a field to a str

Re: [racket-users] How to disallow certain characters in identifiers?

2018-12-20 Thread Ryan Kramer
Interesting. I had never heard of 3d syntax before. But I'm not sure what advantage 3d syntax would get me here. If I have to write my own custom version of "define", couldn't it just as easily detect a dot in a regular syntax object? On Wednesday, December 19, 2018 at 6:29:22 PM UTC-6, Milo Tu

Re: [racket-users] Reasons not to use match or define/match?

2018-12-20 Thread David Storrs
On Thu, Dec 20, 2018 at 1:08 AM Philip McGrath wrote: > > I would also note that, if you expose the struct-ness of your datatype to > clients, adding a field creates a similar compatibility problem with the > constructor. ; version 1 of your file: (require struct-plus-plus) (struct++ dog