Re: [racket] call/comp, eq? and call-with-continuation-prompt

2014-03-11 Thread Matthew Flatt
I've pushed a repair to the compiler. Since flonum boxing is a form of allocation, it's possible that the repair will affect the performance of flonum programs. I haven't detected any such problems, so far; I expect that the programs where expression movement and unboxing help are simple enough th

[racket] Library for date arithmetic?

2014-03-11 Thread Ismael Figueroa
Working with a custom handin-server, I have a date value which represents a deadline, but I also want to allow late submission up to 3 days later than that (well, an arbitrary number of days). Hence, I need to check whether the current date is at most 3 days later than the first one. In the config

Re: [racket] [Scribble] problem generating PDF

2014-03-11 Thread Jens Axel Søgaard
FWIW http://lists.racket-lang.org/users/archive/2013-October/060153.html 2014-03-11 19:28 GMT+01:00 Robby Findler : > There is a well-known problem with one of the libraries included in, I > think, TexLive 2012. > > Robby > > > On Tue, Mar 11, 2014 at 1:24 PM, Eric Tanter wrote: >> >> I did that

Re: [racket] [Scribble] problem generating PDF

2014-03-11 Thread Matthew Flatt
I forgot that it's probably "stabular.sty". Assuming so, you could try a snapshot build, because we've implemented a workaround for Latex installations that have a broken "stabular.sty". At Tue, 11 Mar 2014 15:24:13 -0300, Eric Tanter wrote: > I did that and got pdflatex hanging without any clue.

Re: [racket] [Scribble] problem generating PDF

2014-03-11 Thread Robby Findler
There is a well-known problem with one of the libraries included in, I think, TexLive 2012. Robby On Tue, Mar 11, 2014 at 1:24 PM, Eric Tanter wrote: > I did that and got pdflatex hanging without any clue. But I tried to > pdflatex it on another machine, and it works, so that's a problem with

Re: [racket] [Scribble] problem generating PDF

2014-03-11 Thread Eric Tanter
I did that and got pdflatex hanging without any clue. But I tried to pdflatex it on another machine, and it works, so that's a problem with my latex distribution. Sorry about the noise! -- Éric On Mar 11, 2014, at 11:45 AM, Matthew Flatt wrote: > Although I think there should be a better wa

Re: [racket] webserver : "chunked tail no NL" error in varnish

2014-03-11 Thread Guillaume Coré
That works with both varnish and nginx! Guillaume On 03/11/2014 12:38 PM, Jay McCarthy wrote: > I agree with your interpretation of the spec Greg. > > Guillaume, would it be possible for you to put in this code and try it out: > > (define (output-response-body/chunked conn bresp) > (define-va

Re: [racket] webserver : "chunked tail no NL" error in varnish

2014-03-11 Thread Jay McCarthy
I agree with your interpretation of the spec Greg. Guillaume, would it be possible for you to put in this code and try it out: (define (output-response-body/chunked conn bresp) (define-values (from-servlet to-chunker) (make-pipe)) (define to-client (connection-o-port conn)) (define to-chunk

Re: [racket] Bibliographic info for HtdCH

2014-03-11 Thread Matthias Felleisen
It's on-line with a mostly permanent URL: http://www.ccs.neu.edu/home/matthias/htdc.html On Mar 11, 2014, at 11:47 AM, geb a wrote: > Hi! > > I realize that this may be off topic but I'm using the draft version of HtdCH > for my AP class. With the current changes in AP coming up, we ar

Re: [racket] webserver : "chunked tail no NL" error in varnish

2014-03-11 Thread Greg Hendershott
> The code in webserver-lib seems alright though : > > (define (output-response-body/chunked conn bresp) > (define-values (from-servlet to-chunker) (make-pipe)) > (define to-client (connection-o-port conn)) > (define to-chunker-t > (thread (λ () > ((response-output bresp) to

[racket] Bibliographic info for HtdCH

2014-03-11 Thread geb a
Hi!  I realize that this may be off topic but I'm using the draft version of HtdCH for my AP class.  With the current changes in AP coming up, we are required to update our posted syllabi.  Unfortunately, they are asking for the bibliographic information.  Has the book been published and is t

Re: [racket] [Scribble] problem generating PDF

2014-03-11 Thread Matthew Flatt
Although I think there should be a better way to get more information, I usually render to Latex and then run pdflatex manually to get more information. At Tue, 11 Mar 2014 11:15:48 -0300, Eric Tanter wrote: > Hi, > > Today I made an innocuous change to the PrePLAI document I use for teaching, >

Re: [racket] How to handle #??? from #%declare

2014-03-11 Thread Matthew Flatt
That should have been an error instead of a successful expansion. I've pushed a repair. At Sat, 1 Mar 2014 12:25:48 -0500, Asumu Takikawa wrote: > Hi all, > > I have a question about the recently added #%declare form for modules. > Here's an example expansion for context: > > -> (syntax->datum

[racket] [Scribble] problem generating PDF

2014-03-11 Thread Eric Tanter
Hi, Today I made an innocuous change to the PrePLAI document I use for teaching, and, although the html generation is ok, the PDF generation gets stuck. I tried both at the command line and inside DrRacket. Same issue. Apparently it's stuck in the pdflatex process, but I can't find any log/trace

Re: [racket] call/comp, eq? and call-with-continuation-prompt

2014-03-11 Thread Matthew Flatt
You'll see that '(1 . 2) prints two extra times in that case, because the captured continuation includes the printout of the result of `(t)`. As a result, the `eq?` compares (void) to (void), since each printout produced (void). At Mon, 10 Mar 2014 20:10:20 -0700 (PDT), "Spencer florence" wrote: >

[racket] [TFP2014] Final Call For Papers

2014-03-11 Thread Peter Achten
- F I N A L C A L L F O R P A P E R S - TFP 2014 === 15th Symposium on Trends in Functional Programming May 26-28, 2014 Ut