(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 $0
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:
2 matches
Mail list logo