#5775: Inconsistency in demand analysis
---------------------------------+------------------------------------------
    Reporter:  rl                |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   Milestone:  7.4.2                  
   Component:  Compiler          |     Version:  7.5                    
    Keywords:                    |          Os:  Unknown/Multiple       
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonmar):

 If the fragility of the hack is only exposed by `unsafePerformIO`, then
 I'm in favour of keeping the hack.  I think it's important that evaluation
 not commute with side effects in IO, otherwise I'm afraid we'll start
 seeing lots of strange effects (Simon's example of exceptions floating
 outside of `catch` is a great example, and I'm sure there will be lots
 more).

 I think the Eval monad might be relying on this hack too, but I'll have to
 check.

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