On Jun 27, 2010, at 6:32 PM, Brad Long wrote:

> Dear racketeers,
> 
> What is the reason for not offering a looping construct in racket? For 
> example, something like:
> 
> (loop (i 1 10) (print i))
> 

It's there:

(for/list ([i (in-range 1 10)]) i)

prints out 

'(1 2 3 4 5 6 7 8 9)


... also, note that 'for/list' contains no opiates.

John 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to