#4007: Look again at eta expansion during gentle simplification
---------------------------------+------------------------------------------
Reporter: simonmar | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone: 7.0.1
Component: Compiler | Version: 6.13
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Runtime performance bug
---------------------------------+------------------------------------------
Changes (by simonpj):
* owner: => igloo
Comment:
The HEAD is fine. Heres's a test program
{{{
module Main where
main = sequence_ (replicate 10 (putStrLn "yes"))
}}}
When compiled with -O -dump-rule-firings, you should see
{{{
Rule fired: unpack
Rule fired: Class op >>
Rule fired: Class op return
Rule fired: <=#
Rule fired: fold/build
Rule fired: unpack-list
}}}
The `foldr/build` is the important one.
Ian, could you add a test?
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4007#comment:1>
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