#4161: Space leak with lazy splitAt and (++)
-----------------------+----------------------------------------------------
    Reporter:  guest   |       Owner:              
        Type:  bug     |      Status:  new         
    Priority:  normal  |   Component:  Compiler    
     Version:  6.10.4  |    Keywords:              
          Os:  Linux   |    Testcase:              
Architecture:  x86     |     Failure:  None/Unknown
-----------------------+----------------------------------------------------
 I have a program that does essentially

 let (prefix,suffix) = splitAtLazy infinite input
 in  map f prefix ++ map g suffix

 and has a space leak.
 For a detailed analysis see the thread in Haskell Cafe:
 https://www.haskell.org/pipermail/haskell-cafe/2010-June/079444.html

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4161>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to