#4936: Unbox sum types without fields
---------------------------------+------------------------------------------
    Reporter:  tibbe             |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  7.0.1       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonpj):

 Can you give a small program that doesn't optimise as well as you'd like,
 and a hand-optimised version that does better?

 Concerning #2289, unboxing a pure enumeration (as you propose here) is
 much easier than unboing a general sum type such as lists (which is what
 Don's comment in #2289 asked for). In any case, #2289 is largly about
 another issue (nested CPR).

 simon

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