#4201: Improve eta reduction
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  6.12.3      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by LouisWasserman):

 Patch uploaded.  Arity checking appears to still need some tweaking,
 because I still get functions that look like (\ x -> f (x `cast` a))
 inside bigger functions, and replacing "fun_arity fun >= incoming_arity"
 with True seems to eliminate that, so something might be up with testing
 the arity of casted functions.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4201#comment:3>
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