Fw: [plt-scheme] for in-range (was redefinition in module)

Jos Koot jos.koot at telefonica.net
Sat Mar 1 07:36:40 EST 2008


Correction:

2: compute the number of iterations in advance as
   n=(inexact->exact (ceiling (/ (- finish start) step))))
   and loop (for ((i (in-range 0 n 1))) (let ((var (+ start (* i step)))) etc))
                  ^^^^
Jos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.cs.brown.edu/pipermail/plt-scheme/attachments/20080301/2099e687/attachment.htm


More information about the plt-scheme mailing list