On 07/24/2012 08:18 AM, Vincent St-Amour wrote:
At Tue, 24 Jul 2012 11:11:01 -0400,
Matthias Felleisen wrote:
This kills an infinite or a large-number-of-iterations loop that the
programmer may have tried to specify with the for:-clauses.
It does, but isn't it the point? Once the matrix is full, iteration
should stop.
That sounds right. It should behave like for/vector with a #:length clause:
#lang racket
(for/vector #:length 10 ([i (in-range 20)]) i)
=> '#(0 1 2 3 4 5 6 7 8 9)
Neil ⊥
____________________
Racket Users list:
http://lists.racket-lang.org/users