Re: [racket-users] servlet development in REPL

2018-10-03 Thread Jay McCarthy
You'd have to build it yourself, by doing a `set!` in the REPL to inject the new function in. On Wed, Oct 3, 2018 at 8:10 AM Cam wrote: > > > I am playing around with the built-in webserver functionality with > `servlet/serve' and am wondering if there is a way to automatically > "reload" the

[racket-users] Why does my package have no build status?

2018-10-03 Thread David Storrs
During RacketCon I posted struct-plus-plus to the packages list: https://pkgs.racket-lang.org/ Sadly, in the Build column it doesn't say "succeeds", "fails", or anything else...it's just a blank. What do I need to do differently so that it can play all the reindeer games? -- You received this

Re: [racket-users] Why does my package have no build status?

2018-10-03 Thread Sam Tobin-Hochstadt
I'm not sure why the status is missing on pkgs.racket-lang.org, but here's the build status: http://pkg-build.racket-lang.org/server/built/fail/struct-plus-plus.txt Sam On Wed, Oct 3, 2018 at 10:45 AM David Storrs wrote: > > During RacketCon I posted struct-plus-plus to the packages list: >

[racket-users] servlet development in REPL

2018-10-03 Thread Cam
I am playing around with the built-in webserver functionality with `servlet/serve' and am wondering if there is a way to automatically "reload" the servlet, for lack of better terminology, when I am playing in the REPL. In other words, if I do something like this in the REPL: (define

Re: [racket-users] servlet development in REPL

2018-10-03 Thread Cam
It looks like Sam's suggestion of racket-reloadable is exactly what I need, but I will play with this as well. Thanks! Jay McCarthy writes: > You'd have to build it yourself, by doing a `set!` in the REPL to > inject the new function in. > On Wed, Oct 3, 2018 at 8:10 AM Cam wrote: >> >> >> I

Re: [racket-users] Why does my package have no build status?

2018-10-03 Thread Sam Tobin-Hochstadt
I'm not sure why you don't want to build some things. For example, the .scrbl files need to be built to allow documentation to appear on docs.racket-lang.org. However, the `compile-omit-files` key is what you'd want to use. Also, the build server runs your tests. You should just add a dependency.

Re: [racket-users] Why does my package have no build status?

2018-10-03 Thread David Storrs
Cool, thanks. How do I tell the server not to build anything aside from main.rkt? The rest of what's there is module-private helpers. I've looked through the docs on info.rkt and raco setup but had no luck. Also, how can I tell it to ignore certain dependencies? It uses handy/test-more for

Re: [racket-users] LOP cultural anthropology, phases

2018-10-03 Thread Jesse Alama
On 1 Oct 2018, at 4:49, William G Hatch wrote: I just read “Language Oriented Programming in Racket: A Cultural Anthropology” on my flight home from Racketcon. I enjoyed reading it, and recommend it. Just for reference (in case someone stumbles across this message in the future, or

Re: [racket-users] Why does my package have no build status?

2018-10-03 Thread David Storrs
On Wed, Oct 3, 2018 at 12:13 PM Sam Tobin-Hochstadt wrote: > I'm not sure why you don't want to build some things. For example, the > .scrbl files need to be built to allow documentation to appear on > docs.racket-lang.org. However, the `compile-omit-files` key is what > you'd want to use. > >

Re: [racket-users] Re: Upgrading Racket

2018-10-03 Thread Philip McGrath
Seeing that you're on Mac, `which raco` should help to confirm what version of raco you have installed. (Interestingly, raco doesn't seem to support the `--version` flag, which I think it probably should. `racket --version` does work, but it's possible, albeit unlikely, that you could be have a

Re: [racket-users] servlet development in REPL

2018-10-03 Thread Philip McGrath
While Jay and Sam have tried to answer the question you actually asked, my advice would be to approach this differently. When I am developing web server things interactively, I put them in the DrRacket definitions window and run the program with the "Run" button. You can then poke at the running

Re: [racket-users] Re: Upgrading Racket

2018-10-03 Thread James Platt
It turns out that the solution was to delete previously compiled code in various places. I guess that things I was trying to run were trying to link to something, besides standard libraries, compiled under Racket 6.10. On Oct 3, 2018, at 3:48 PM, Philip McGrath wrote: > Seeing that you're on

Re: [racket-users] servlet development in REPL

2018-10-03 Thread Sam Tobin-Hochstadt
You will probably be interested in the `reloadable` package: https://github.com/tonyg/racket-reloadable/ Sam On Wed, Oct 3, 2018 at 8:10 AM Cam wrote: > > > I am playing around with the built-in webserver functionality with > `servlet/serve' and am wondering if there is a way to automatically >

[racket-users] package for the RacketCon 2018 web devel workshop

2018-10-03 Thread Jesse Alama
I made a package to go along with the web programming workshop held at RacketCon 2018. Install: $ raco pkg install racketcon-2018-web-devel-workshop Docs: $ raco docs racketcon-2018-web-devel-workshop The package contains a little raco command that exposes four HTTP servers/applications, each