View Problem Report: 11166
Audit Trail:
From: John Clements <clements at brinckerhoff.org>
To: mlsmith at cs.vassar.edu, bugs at racket-lang.org
Cc: plt-dev Developers <plt-dev at list.cs.brown.edu>
Subject: Re: [racket-bug] all/11166: stepper index off by one
Date: Tue, 7 Sep 2010 12:34:53 -0700
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=3Dview&pr=3D11166
>=20
> Reported by Marc Smith for release: 5.0.1
>=20
> *** Description:
> When stepping through a program in BSL, the stepper shows current =
progress, e.g.,=20
> 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?
John
From: Robby Findler <robby at eecs.northwestern.edu>
To: John Clements <clements at brinckerhoff.org>
Cc: mlsmith at cs.vassar.edu, bugs at racket-lang.org,
plt-dev Developers <dev at lists.racket-lang.org>
Subject: Re: [racket-dev] [racket-bug] all/11166: stepper index off by one
Date: Tue, 7 Sep 2010 15:00:27 -0500
The search command got changed a little while ago, I think. :)
But I think you should got from 1/n to n/n. (The text search is a
little more complex because you can be before or after the first /
last hit.)
Robby
On Tue, Sep 7, 2010 at 2:34 PM, John Clements <clements at brinckerhoff.org> w=
rote:
>
> On Sep 7, 2010, at 6:56 AM, mlsmith at cs.vassar.edu wrote:
>
>> A new problem report is waiting at
>> =C2=A0http://bugs.racket-lang.org/query/?cmd=3Dview&pr=3D11166
>>
>> Reported by Marc Smith for release: 5.0.1
>>
>> *** Description:
>> When stepping through a program in BSL, the stepper shows current progre=
ss, 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 "sea=
rch" command.
>
> Any other opinions?
>
> John
>
>
> _________________________________________________
> =C2=A0For list-related administrative tasks:
> =C2=A0http://lists.racket-lang.org/listinfo/dev
>
Responsible changed from "nobody" to "clements" by clements at racket-lang.org at Tue, 07 Sep 2010 17:45:58 -0400
Reason>>> A commit by clements at racket-lang.org has resolved this report
http://git.racket-lang.org/plt/commit/c2b75a6c57
State changed from "open" to "closed" by clements at racket-lang.org at Tue, 07 Sep 2010 17:45:58 -0400
Reason>>> A commit by clements at racket-lang.org has resolved this report
http://git.racket-lang.org/plt/commit/c2b75a6c57