logo       

Re: `partition': msg#00026

lang.haskell.glasgow.bugs

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@xxxxxxxxxxx/msg07508.html

--
-- Johannes Waldmann, Tel/Fax: (0341) 3076 6479 / 6480 --
------ http://www.imn.htwk-leipzig.de/~waldmann/ ---------


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise