[racket-users] How to use the REPL with #lang s-exp "expander.rkt"

2017-03-16 Thread NeverTooOldToCode
I'm playing around with SICP's Metacircular Scheme Evaluator, and thought it would be convenient to try and do that in a #lang setup in Racket, so I can use the Racket Definition Window and REPL. No Reader modification is needed, since Scheme code is already S-expressions. The expander just

[racket-users] Re: Beautiful Racket v1.0

2017-03-16 Thread Vincent Nys
Congrats! I've gone through all the chapters and it has been the most entertaining programming book I have ever read. It's been practical, too, as I have already used bits of it in a medium-sized (first) Racket project. I would gladly buy it and will recommend it to many of my co-workers.

[racket-users] minimal vs full racket performance issues

2017-03-16 Thread Dan Liebgold
Hi - (This is a continuation of some discussions I've had on the dev list a couple years ago.) We continue to have performance issues stemming from Racket's runtime file system usage. Hopefully someone can shed some more light on the issues so we can adjust our usages... We use a minimal

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Sam Tobin-Hochstadt
Unfortunately, I don't think there's an analogue of apt autoremove, so you probably have to do it manually. On Thu, Mar 16, 2017, 6:37 PM Dan Liebgold wrote: > On Thursday, March 16, 2017 at 3:30:56 PM UTC-7, Sam Tobin-Hochstadt wrote: > > Just installing

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Ed Hirgelt
Won’t raco pkg remove and raco pkg empty-trash do the trick? Ed > On Mar 16, 2017, at 3:42 PM, Sam Tobin-Hochstadt wrote: > > Unfortunately, I don't think there's an analogue of apt autoremove, so you > probably have to do it manually. > > > On Thu, Mar 16, 2017, 6:37

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Dan Liebgold
On Thursday, March 16, 2017 at 3:30:56 PM UTC-7, Sam Tobin-Hochstadt wrote: > Just installing rackunit-lib will avoid the docs and tests, which should > substantially reduce the footprint. > That's a fix for rackunit... I'm also using Jay's awesome job-queue package, which pulls in scribble

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Sam Tobin-Hochstadt
Just installing rackunit-lib will avoid the docs and tests, which should substantially reduce the footprint. Sam On Thu, Mar 16, 2017, 6:25 PM Dan Liebgold wrote: > Hi - > > (This is a continuation of some discussions I've had on the dev list a > couple years ago.)

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Dan Liebgold
On Thursday, March 16, 2017 at 3:30:56 PM UTC-7, Sam Tobin-Hochstadt wrote: > Just installing rackunit-lib will avoid the docs and tests, which should > substantially reduce the footprint. > > Sam > Very cool now, say I've already gone and installed rackunit. How can I remove all those

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Vincent St-Amour
`raco pkg remove rackunit && raco pkg remove --auto` should do it. Vincent On Thu, 16 Mar 2017 17:42:23 -0500, Sam Tobin-Hochstadt wrote: > > Unfortunately, I don't think there's an analogue of apt autoremove, so you > probably have to do it manually. > > On Thu, Mar 16, 2017, 6:37 PM Dan

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Sam Tobin-Hochstadt
Ah, I didn't even know about --auto. On Thu, Mar 16, 2017, 6:48 PM Vincent St-Amour < stamo...@eecs.northwestern.edu> wrote: > `raco pkg remove rackunit && raco pkg remove --auto` should do it. > > Vincent > > > On Thu, 16 Mar 2017 17:42:23 -0500, > Sam Tobin-Hochstadt wrote: > > > >

Re: [racket-users] minimal vs full racket performance issues

2017-03-16 Thread Dan Liebgold
On Thursday, March 16, 2017 at 3:48:34 PM UTC-7, Vincent St-Amour wrote: > `raco pkg remove rackunit && raco pkg remove --auto` should do it. > "raco pkg remove --auto -i" did it. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To

Re: [racket-users] How to build new formlets that allow passing default values (such as hidden)?

2017-03-16 Thread Marc Kaufmann
Thanks Philip. I checked out the links, but I fear that it's over my head, and that I would almost surely screw it up. For now I'll keep passing the parameters. Cheers, Marc On Tuesday, March 14, 2017 at 3:22:39 PM UTC-4, Philip McGrath wrote: > If you want it to be part of the continuation

[racket-users] Re: minimal vs full racket performance issues

2017-03-16 Thread Jack Firth
On Thursday, March 16, 2017 at 3:25:34 PM UTC-7, Dan Liebgold wrote: > Is there a way to do minimal installs of packages? I imagine skipping any > gui elements would cut down the dependencies quite a bit. You can install a package in binary form with `raco pkg install --binary foo`, which

Re: [racket-users] Beautiful Racket v1.0

2017-03-16 Thread Alexis King
This is wonderful. I have not read through everything, but the bits that I have read are well-written, insightful, and fun. I don’t know if a book like this is enough to get people interested in building DSLs, but if it isn’t, I’m not sure what is. I’m a tiny bit sad (or should I say “bummed