RE: `partition'

2004-10-18 Thread Simon Marlow
of partition. You might write code that depends on the lazy behaviour, and such code wouldn't work with earlier patchlevels. Yes, the no change to library APIs policy is quite restrictive. It was introduced as a way to try to provide stability between releases - we provide bugfixes without breaking

RE: `partition'

2004-10-15 Thread Simon Marlow
not been released so far ... On Thu, Oct 14, 2004 at 12:02:20PM +0200, Josef Svenningsson wrote: A little browsing in the CVS reveals that partition is fixed in GHC's libraries but that it was done after the 6.2 branch. So the 6.2 branch is still using the old erroneous definition. Could

RE: `partition'

2004-10-15 Thread Josef Svenningsson
it? For 6.2.2 is have not been released so far ... On Thu, Oct 14, 2004 at 12:02:20PM +0200, Josef Svenningsson wrote: A little browsing in the CVS reveals that partition is fixed in GHC's libraries but that it was done after the 6.2 branch. So the 6.2 branch is still using the old

`partition'

2004-10-14 Thread Serge D. Mechveliani
Dear GHC developers, the function let ns = [1 .. 10^6] :: [Int] p = partition even ns in take 2 $ fst p computes too long in ghc-6.2.2-September-26 and needs several megabyte of stack. What might be the reason

Re: `partition'

2004-10-14 Thread Johannes Waldmann
the function let ns = [1 .. 10^6] :: [Int] p = partition even ns in take 2 $ fst p computes too long in ghc-6.2.2-September-26 and needs several megabyte of stack. this has been noticed a few times, for example http://www.mail

RE: `partition'

2004-10-14 Thread Josef Svenningsson
A little browsing in the CVS reveals that partition is fixed in GHC's libraries but that it was done after the 6.2 branch. So the 6.2 branch is still using the old erroneous definition. Could this fix be merged into the 6.2 branch, please? /Josef -Original Message- From

Re: `partition'

2004-10-14 Thread Serge D. Mechveliani
Indeed, could it? For 6.2.2 is have not been released so far ... On Thu, Oct 14, 2004 at 12:02:20PM +0200, Josef Svenningsson wrote: A little browsing in the CVS reveals that partition is fixed in GHC's libraries but that it was done after the 6.2 branch. So the 6.2 branch is still using