`partition'

Josef Svenningsson josefs at cs.chalmers.se
Thu Oct 14 06:02:20 EDT 2004


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: glasgow-haskell-bugs-bounces at haskell.org [mailto:glasgow-haskell-
> bugs-bounces at haskell.org] On Behalf Of Johannes Waldmann
> Sent: den 14 oktober 2004 10:30
> To: Serge D. Mechveliani
> Cc: glasgow-haskell-bugs at haskell.org
> Subject: Re: `partition'
> 
> 
> > 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-archive.com/haskell@haskell.org/msg07508.html
> 
> --
> -- Johannes Waldmann,  Tel/Fax: (0341) 3076 6479 / 6480 --
> ------ http://www.imn.htwk-leipzig.de/~waldmann/ ---------
> 
> _______________________________________________
> Glasgow-haskell-bugs mailing list
> Glasgow-haskell-bugs at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs




More information about the Glasgow-haskell-bugs mailing list