#2822: Arity expansion not working right
---------------------------------------+------------------------------------
Reporter: simonpj | Owner:
Type: run-time performance bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.1
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
---------------------------------------+------------------------------------
With GHC 6.10, the arity of `GHC.Handle.openFile` is reported as 2. But
its definition is
{{{
openFile fp im = Prelude.catch (...) (...)
}}}
and `Prelude.catch` has arity 3. Somehow `openFile` isn't getting eta-
expanded properly.
It's not a huge deal, but arity expansion is an important optimisation so
I want to track places it isn't happening.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2822>
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