[racket] V5.2 (sequence? 2)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Nov 10 06:32:58 EST 2011

Yes, that change was part of v5.1.2. An exact nonnegative integer N can
be used as a sequence equivalent to `(in-range N)', so that

 (for ([i 10]) ...)

iterates `i' from 0 to 9.

At Wed, 9 Nov 2011 23:20:37 -0700, Jay McCarthy wrote:
> It is intentional. It broke mongodb too, but I forget what the
> justification was. I think Matthew made the chance... but I forget
> when.
> 
> On Wed, Nov 9, 2011 at 10:35 PM, J G Cho <gcho at fundingmatters.com> wrote:
> > Congrats to the new release.
> >
> > Some of my tests were failing under 5.2
> >
> > Upon some poking around, I find (sequence? 2) now return #t is the
> > culprit. Is this change intentional? If so, why?
> >
> > Regards,
> >
> > jgc
> > _________________________________________________
> >  For list-related administrative tasks:
> >  http://lists.racket-lang.org/listinfo/users
> >
> 
> 
> 
> -- 
> Jay McCarthy <jay at cs.byu.edu>
> Assistant Professor / Brigham Young University
> http://faculty.cs.byu.edu/~jay
> 
> "The glory of God is Intelligence" - D&C 93
> 
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.