Re: [racket-dev] for behavior with empty sequence

2010-11-07 Thread Matthew Flatt
At Sun, 07 Nov 2010 17:13:26 -0700, Jon Rafkind wrote: > Is this the right behavior for a `for' loop when no sequences are given? > > -> (for () (printf "ok!\n")) > ok! Yes, as documented. > I would expect the body to occur 0 times. As far as I can tell, 1 is more consistent. The easiest expla

[racket-dev] for behavior with empty sequence

2010-11-07 Thread Jon Rafkind
Is this the right behavior for a `for' loop when no sequences are given? -> (for () (printf "ok!\n")) ok! -> (for ([x (in-list (list))]) (printf "ok!\n")) -> I would expect the body to occur 0 times. _ For list-related administrative tasks: http

[racket-dev] BUG: compile: access from an uncertified context to unexported variable from module: "/usr/local/src/racket/collects/racket/contract/private/base.rkt" in: apply-contract

2010-11-07 Thread Eric Hanchrow
(Sorry for any duplicaiton; I tried submitting this through DrRacket but never got a confirmation email) On Racket v5.0.1.900., Ubuntu 10.10 x86: Create "stuff.rkt" with this content: #! /bin/sh #| Hey Emacs, this is -*-scheme-*- code! #$Id$ exec racket -l errortrace --require "$