[racket] unstable/socket

2014-11-21 Thread Neil Van Dyke
Any plans to promote the `unstable/socket` module to non-unstable? Or to otherwise officially support Unix domain sockets in core Racket? Neil V. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Running subset of RackUnit tests

2014-11-21 Thread Matthias Felleisen
[[ always cc list ]] (module+ test ...) is a single sub-module that is distributed over the body of a module. Racket collects the pieces and makes a single submodule. -- Matthias On Nov 21, 2014, at 3:13 PM, Joel McCracken wrote: > How would I run 1) all tests and 2) a se

Re: [racket] Running subset of RackUnit tests

2014-11-21 Thread Matthias Felleisen
I would use submodules to manage selective testing, like this: #lang racket (provide ;; -> Void ;; does foo and bar main) ;; - ;; implementation (require 2htdp/image) ;; ---

Re: [racket] require and provide from scrbl files?

2014-11-21 Thread Matthias Felleisen
Yes. I call mine shared.rkt. On Nov 21, 2014, at 2:52 PM, Stephen Chang wrote: > Ok so if I want to share common code between scribble files, I should > probably define and provide them in a plain Racket file? > > On Fri, Nov 21, 2014 at 2:48 PM, Matthias Felleisen > wrote: >> >> Scribble

Re: [racket] require and provide from scrbl files?

2014-11-21 Thread Stephen Chang
Ok so if I want to share common code between scribble files, I should probably define and provide them in a plain Racket file? On Fri, Nov 21, 2014 at 2:48 PM, Matthias Felleisen wrote: > > Scribble does not linguistically inherit Racket's modules. > But you can try (prefix-in ..) and then access

Re: [racket] require and provide from scrbl files?

2014-11-21 Thread Matthias Felleisen
Scribble does not linguistically inherit Racket's modules. But you can try (prefix-in ..) and then access doc that way. I did this for last year's course page in scribble. On Nov 21, 2014, at 2:34 PM, Stephen Chang wrote: > Is this allowed? > > > File A.scrbl: > > #lang scribble/manual

Re: [racket] Running subset of RackUnit tests

2014-11-21 Thread Matthias Felleisen
I would like to suggest the use of submodules but raco test isn't quite there yet. On Nov 21, 2014, at 1:59 PM, Joel McCracken wrote: > Hi, > > I have a I'm trying to figure out how to run specific test subsets. I > have organized different subsets into test suites, and do run-tests on > ea

[racket] require and provide from scrbl files?

2014-11-21 Thread Stephen Chang
Is this allowed? File A.scrbl: #lang scribble/manual File B.scrbl: #lang scribble/manual @(require "A.scrbl") Right now when I run B, I get the error: module: identifier is already imported in: doc Racket Users list: http://lists.racket-lang.org/users

[racket] Running subset of RackUnit tests

2014-11-21 Thread Joel McCracken
Hi, I have a I'm trying to figure out how to run specific test subsets. I have organized different subsets into test suites, and do run-tests on each of them, but I would prefer a scheme where: 1) I can run all of the tests for a project, and 2) I can "tag" tests to run subsets. Is there a way t

Re: [racket] FastCGI support?

2014-11-21 Thread Neil Van Dyke
Matt Gushee wrote on 11/21/2014 02:42 AM: * I was surprised at the number of dependencies pulled in when I installed the scgi package. It looks like most of them are there to support the template processor which is required by the example code. It's not a big deal, of course, but I wonder if the

[racket] Socket error with distributed places example

2014-11-21 Thread Matt Gushee
Hello-- I am learning about distributed places, and I tried to run the "hello world" example found at http://docs.racket-lang.org/distributed-places/index.html . I get the following error: > uncaught exception: "socket error connecting to localhost:6344" I tried a couple of other port numbers, j