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
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
(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 "$
3 matches
Mail list logo