`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?

-
Serge Mechveliani
[EMAIL PROTECTED]






___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


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-archive.com/[EMAIL PROTECTED]/msg07508.html
--
-- Johannes Waldmann,  Tel/Fax: (0341) 3076 6479 / 6480 --
-- http://www.imn.htwk-leipzig.de/~waldmann/ -
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


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

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


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 the old erroneous definition.
 
 Could this fix be merged into the 6.2 branch, please?
 
   /Josef
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:glasgow-haskell-
  [EMAIL PROTECTED] On Behalf Of Johannes Waldmann
  Sent: den 14 oktober 2004 10:30
  To: Serge D. Mechveliani
  Cc: [EMAIL PROTECTED]
  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/[EMAIL PROTECTED]/msg07508.html
  
  --
  -- Johannes Waldmann,  Tel/Fax: (0341) 3076 6479 / 6480 --
  -- http://www.imn.htwk-leipzig.de/~waldmann/ -
  
  ___
  Glasgow-haskell-bugs mailing list
  [EMAIL PROTECTED]
  http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
 
 
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[ ghc-Bugs-1047408 ] Script file locked on Windows

2004-10-14 Thread SourceForge.net
Bugs item #1047408, was opened at 2004-10-14 15:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1047408group_id=8032

Category: None
Group: 6.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Script file locked on Windows

Initial Comment:
On Windows, any script loaded into the interpreter is
apparently locked.  Thus, if one is working on
debugging a script in a text editor, the file can only
be saved if ghci is closed.

[EMAIL PROTECTED]

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=108032aid=1047408group_id=8032
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs