[racket-dev] [racket-bug] all/11166: stepper index off by one

From: John Clements (clements at brinckerhoff.org)
Date: Tue Sep 7 15:34:53 EDT 2010

On Sep 7, 2010, at 6:56 AM, mlsmith at cs.vassar.edu wrote:

> A new problem report is waiting at
>  http://bugs.racket-lang.org/query/?cmd=view&pr=11166
> Reported by Marc Smith for release: 5.0.1
> *** Description:
> When stepping through a program in BSL, the stepper shows current progress, e.g., 
> 0/3, 1/3, 2/3
> But since the step numbers start at 0, the progress only goes to (n-1)/n, and not n/n when the user has stepped through the entire program.
> I didn't notice this situation, but my students did during class, which became their first lesson in 0-based indexing (for better or worse).
> Thanks! Marc

That was a deliberate choice, though I could be convinced that it was the wrong one; I think I was trying to mirror the behavior of the current "search" command.

Any other opinions?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100907/9638c7bb/attachment.p7s>

Posted on the dev mailing list.