[racket] V5.2 (sequence? 2)
Well, a number is a seq of length 1, I suppose. Although my brain
thinks list or vector when it sees the term...
I had to skip v5.1.2 due to some incomprehensible error. Other than
this and plot module providing a new proc 'inverse' which caused minor
errors, it seems to work really well.
Change from cmd-T to cmd-R is greatly appreciated.
Thank you.
On Thu, Nov 10, 2011 at 8:32 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> 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
>